Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8eff0d4 authored by Olivier Gaillard's avatar Olivier Gaillard
Browse files

Reduce the pre-watchdog timeout to be 1/4 of the full timeout

It will help catch more issues (these pre-watchdogs are non-fatal)

Change-Id: I0355b04c6637ea344ecff7ee68367e10cc334911
parent 23cf3f1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ public class Watchdog implements Dumpable {
    // will be half the full timeout).
    //
    // The pre-watchdog event is similar to a full watchdog except it does not crash system server.
    private static final int PRE_WATCHDOG_TIMEOUT_RATIO = 3;
    private static final int PRE_WATCHDOG_TIMEOUT_RATIO = 4;

    // These are temporally ordered: larger values as lateness increases
    static final int COMPLETED = 0;