-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add DEBUG_NETWORK_SEND_DELAY for simulating slow network
Summary: It can be a pain to debug slow network issues, especially with the iOS simulator which doesn't have a network link conditioner. This makes it really easy and predictable by simply adding a `setTimeout` around calling `sendRequest`. Changelog: [General] [Added] - DEBUG_NETWORK_SEND_DELAY can be used to simulate slow network. Reviewed By: PeteTheHeat Differential Revision: D19236911 fbshipit-source-id: 14762c7e0c6408a8364aa569c482729a7a1fe740
- Loading branch information
1 parent
674b591
commit 4aac019
Showing
1 changed file
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters