Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pollBatch: wait 100ms for the write to complete
Summary: We're incurring a minimum 1s delay for every write currently, because the first poll will always fail and the caller (often SendQueue.hs) waits 1s before polling again. This makes tests run slowly, in particular. Workaround: block for max 100ms in pollBatch to allow writes that complete quickly to avoid the poll/retry roundtrip. Reviewed By: donsbot Differential Revision: D51206446 fbshipit-source-id: 8faa5d609cd586c0fd3f5c9b789289561c482307
- Loading branch information