You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix RCTBundleURLProvider crash when failing to check isPackagerRunning (#55761)
Summary:
Pull Request resolved: #55761
In certain situations, where there are network issues reaching the Dev Server, the app crashes because of waiting too long on a semaphore.
Instead, reduce the timeout on the `/status` request to 6 seconds, which is plenty of time to validate that the Dev Server is running, and reduce the timeout for the semaphore to 8 seconds, in case the request still won't finish by then.
Changelog: [iOS][Fixed] not crashing on network issues with connecting to DevServer
Reviewed By: cipolleschi
Differential Revision: D94382277
fbshipit-source-id: b898af6af6a5a9d7964f78a57f921327fe4c4e95
0 commit comments