Change the timeout in CallBoardSystemServiceOpenApplication to
authorJason Molenda <jmolenda@apple.com>
Tue, 20 Dec 2016 04:54:04 +0000 (04:54 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 20 Dec 2016 04:54:04 +0000 (04:54 +0000)
30 seconds to match the old springboard timeout; the launcher
should time out before that and we will hopefully get back
an informative error message instead of timing out ourselves.

llvm-svn: 290163

lldb/tools/debugserver/source/MacOSX/MachProcess.mm

index bca6219..720f6bc 100644 (file)
@@ -157,7 +157,7 @@ static bool CallBoardSystemServiceOpenApplication(NSString *bundleIDNSStr,
 
   ];
 
-  const uint32_t timeout_secs = 20;
+  const uint32_t timeout_secs = 30;
 
   dispatch_time_t timeout =
       dispatch_time(DISPATCH_TIME_NOW, timeout_secs * NSEC_PER_SEC);