-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bridge: factor backoffs to make sure we set sleep_time consistently
There were some gaps in the initial implementation. This switches to setting a flag within the message handling loop and breaking the loop so that the sleep time penalty (or reset) can be assessed at the bottom of the loop more consistently. Mostly this is about making sure any single message that has a problem makes the whole iterator batch retry.
- Loading branch information
1 parent
6bfccbe
commit 5536e9a
Showing
1 changed file
with
26 additions
and
19 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