Raise native-crash socket timeout
Stack unwinding can sometimes legitimately take more than 2 seconds. Bug 28210681 Change-Id: If6fb30c5111e9c85ce98d36a97faa0b5f21bc04d
This commit is contained in:
@@ -49,8 +49,8 @@ final class NativeCrashListener extends Thread {
|
||||
static final String DEBUGGERD_SOCKET_PATH = "/data/system/ndebugsocket";
|
||||
|
||||
// Use a short timeout on socket operations and abandon the connection
|
||||
// on hard errors
|
||||
static final long SOCKET_TIMEOUT_MILLIS = 2000; // 2 seconds
|
||||
// on hard errors, just in case debuggerd goes out to lunch.
|
||||
static final long SOCKET_TIMEOUT_MILLIS = 10000; // 10 seconds
|
||||
|
||||
final ActivityManagerService mAm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user