From 4176fe962a877232dfb0cfdac0dbe41494d5c345 Mon Sep 17 00:00:00 2001 From: Olivier Gaillard Date: Thu, 8 Sep 2022 15:17:05 +0100 Subject: [PATCH] Reduce WRAPPED_PID_TIMEOUT_MILLIS to 20s. It will allow us to reduce the system server watchdog to 20s. Test: manual Bug: 209932320 Change-Id: Ifea5529cea8344141cfd19b53c3b3723d51134dc --- .../java/com/android/internal/os/ZygoteConnectionConstants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/com/android/internal/os/ZygoteConnectionConstants.java b/core/java/com/android/internal/os/ZygoteConnectionConstants.java index 0c1cd6de1bb4f..fe9b992413452 100644 --- a/core/java/com/android/internal/os/ZygoteConnectionConstants.java +++ b/core/java/com/android/internal/os/ZygoteConnectionConstants.java @@ -41,5 +41,5 @@ public class ZygoteConnectionConstants { * WARNING: This may trigger the watchdog in debug mode. However, to support * wrapping on lower-end devices we do not have much choice. */ - public static final int WRAPPED_PID_TIMEOUT_MILLIS = 30000; + public static final int WRAPPED_PID_TIMEOUT_MILLIS = 20000; }