-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Rare flush timeout when called in tight loop
Fix an edge case that flush could keep timing out when called in a tight loop. The test case testFlush_WhenNoInternet_BlocksAndFinishes does this and sometimes fails with 'Flush should not time out'. This is fixed now, by removing the duplicate setting of isFlushing to NO in two different synchronize blocks.
- Loading branch information
1 parent
65e8a5b
commit 271a605
Showing
2 changed files
with
1 addition
and
4 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
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