summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Olivier Gaillard <gaillard@google.com> 2023-11-29 17:24:55 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-11-29 17:24:55 +0000
commitce2b23de426683376fedb720a11798f4b6d0a747 (patch)
tree63aa575c6e0302c239f93410d4424913f01adad4
parent65f35f9426718cd50bb8d2c4b84caade859bc568 (diff)
parent75ecf888175f8d57f508b10a2fa5bdf952362f51 (diff)
Merge "Decrease the pre-watchdog timeout to capture more issues." into main
-rw-r--r--services/core/java/com/android/server/Watchdog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/Watchdog.java b/services/core/java/com/android/server/Watchdog.java
index 60f087f53a7e..382ee6e0c0a6 100644
--- a/services/core/java/com/android/server/Watchdog.java
+++ b/services/core/java/com/android/server/Watchdog.java
@@ -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;