mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00:00
Wait longer for debugger proxy
Reviewed By: yuzhi Differential Revision: D3198412 fb-gh-sync-id: fe11f74b2a019accc24b08162746ce4793a49b90 fbshipit-source-id: fe11f74b2a019accc24b08162746ce4793a49b90
This commit is contained in:
parent
81c62c5f41
commit
7e515f8d4a
@ -92,7 +92,7 @@ RCT_EXPORT_MODULE()
|
||||
{
|
||||
_socketOpenSemaphore = dispatch_semaphore_create(0);
|
||||
[_socket open];
|
||||
long connected = dispatch_semaphore_wait(_socketOpenSemaphore, dispatch_time(DISPATCH_TIME_NOW, NSEC_PER_SEC * 2));
|
||||
long connected = dispatch_semaphore_wait(_socketOpenSemaphore, dispatch_time(DISPATCH_TIME_NOW, NSEC_PER_SEC * 10));
|
||||
return connected == 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user