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

Commit 75ecf888 authored by Olivier Gaillard's avatar Olivier Gaillard
Browse files

Decrease the pre-watchdog timeout to capture more issues.

Pre-watchdogs do not kill system server so this change will not have any impact on the crash rate of system server.

Change-Id: If5489eb6d2d65de7eed01a6351195a844e419850
Test: atest WatchdogTest
parent f2649e60
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 = 2;
    private static final int PRE_WATCHDOG_TIMEOUT_RATIO = 3;

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