react-native/Libraries
Leland Richardson b6f1a6085f Increase prepare js timeout
Summary:
We run into this timeout virtually every live-reload now, which I believe is just a function of the size of our React Native code base. Looking at the code, right now the prepare JS call is run and retried 3 times, with a wait/timeout of 1s each. On android, it's done 3 times with a wait/timeout of 5s on each. For consistency, I've updated it to be the same timeout as on android. Trying this with our project, we no longer get red-boxes when we live-reload for the first time.

I've run this on our project locally, and it fixed the issue. It's a very simple change, so I don't believe any additional testing should be needed.

[IOS][BUGFIX][RCTWebsocketExecutor] - Increased timeout to prevent false-positive redbox during development of large RN code base
Closes https://github.com/facebook/react-native/pull/16794

Differential Revision: D6387545

Pulled By: shergin

fbshipit-source-id: c6e58fb82e072c01f9e1277a58d2640d6140a8c7
2017-11-21 14:01:20 -08:00
..
ART Fix format warnings for clang 5.0 2017-09-25 10:30:53 -07:00
ActionSheetIOS Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
Alert Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
Animated Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
AppState Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
BatchedBridge Adding @email tags to most of the tests 2017-11-02 06:25:03 -07:00
Blob @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00
BugReporting
CameraRoll Corrected types of page_info return value in documentation. 2017-11-19 17:45:55 -08:00
Components Migrate to new documentation format 2017-11-16 17:04:45 -08:00
Core Fix sections that come from React Fiber 2017-11-09 13:05:07 -08:00
EventEmitter RN: Improve NativeEventEmitter Flow Types 2017-10-13 08:04:17 -07:00
Experimental AMA changes to support disk cache 2017-11-12 13:03:41 -08:00
Geolocation @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00
Image Mention <ImageBackground> when error is thrown 2017-11-18 17:27:58 -08:00
Inspector Improve types for React Native styles. 2017-11-14 13:18:33 -08:00
Interaction Adding @email tags to most of the tests 2017-11-02 06:25:03 -07:00
JSInspector
LayoutAnimation @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00
Linking fix flow warning and typo 2017-09-08 14:46:14 -07:00
LinkingIOS Standardize project indentation settings on 2 spaces 2017-07-31 05:20:03 -07:00
Lists Fix minimumViewTime in ViewabilityHelper 2017-11-16 20:15:46 -08:00
Modal Add onDismiss to Modal.js 2017-09-21 15:01:52 -07:00
NativeAnimation Fix potential retain cycles in Animated iOS 2017-10-23 13:20:59 -07:00
Network Check against integer overflow in RCTNetworking decodeTextData 2017-11-07 08:08:41 -08:00
Performance Unify Systrace native hook argument passing. 2017-11-16 08:01:06 -08:00
PermissionsAndroid Update documentation for PermissionsAndroid 2017-08-16 15:01:51 -07:00
PushNotificationIOS Fix flowtype errors for PushNotificationIOS 2017-08-14 12:03:18 -07:00
RCTTest Pass scriptURL to RCTTestRunner 2017-11-12 13:36:22 -08:00
ReactNative Replace fburl.com link with public fb.me link 2017-11-20 13:56:15 -08:00
Renderer React sync for revisions 589c0a2...2d23a45 2017-11-15 09:16:18 -08:00
Sample Standardize project indentation settings on 2 spaces 2017-07-31 05:20:03 -07:00
Settings Fix infinite recursion in RCTSettingsManager init 2017-08-09 09:39:40 -07:00
Share Flow 0.59 xplat/js deploy 2017-11-10 21:15:48 -08:00
Storage Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
StyleSheet Improve types for React Native styles. 2017-11-14 13:18:33 -08:00
SurfaceBackedComponent Introducing RCTSurfaceBackedComponent 2017-11-11 21:25:47 -08:00
SurfaceHostingComponent Introducing RCTSurfaceHostingComponent 2017-11-11 21:25:47 -08:00
Text Fix tvOS compile issues; enable TVEventHandler in Modal (fix #15389) 2017-11-09 13:54:54 -08:00
Utilities Add end to end Delta support to Android devices 2017-11-17 07:47:38 -08:00
Vibration Run eslint --fix 2017-10-09 17:46:44 -07:00
WebSocket Increase prepare js timeout 2017-11-21 14:01:20 -08:00
Wrapper Opensourcing RCTWrapper 2017-10-09 17:22:35 -07:00
fishhook Merge fishhook.xcodeproj in RCTWebSocket 2017-08-09 07:48:09 -07:00
polyfills Use proper script way to clone Emoji files from www 2017-08-21 16:29:39 -07:00
react-native Export YellowBox API 2017-11-06 17:44:37 -08:00
vendor @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00
.eslintrc Disallow trailing commas in react-native-github 2017-08-17 16:20:04 -07:00
Promise.js @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00
promiseRejectionIsError.js @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00