Debuggerd: Extend crash_dump timeout to 5 seconds
am: 4f5f558d38
Change-Id: I25274053b0b45b00cefbc8d65d5ef271050269b2
diff --git a/debuggerd/crash_dump.cpp b/debuggerd/crash_dump.cpp
index 558bc72..5db0e5f 100644
--- a/debuggerd/crash_dump.cpp
+++ b/debuggerd/crash_dump.cpp
@@ -271,7 +271,10 @@
}
// Die if we take too long.
- alarm(2);
+ //
+ // Note: processes with many threads and minidebug-info can take a bit to
+ // unwind, do not make this too small. b/62828735
+ alarm(5);
std::string attach_error;