-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use jitter in waiters and account for overflows
This approached adds jitter to waiters and accounts for overflows. This update ensures that the computed exponential wait time does not cause integer overflows for larger numbers of attempts. Instead, we compute at which point attempts will exceed maxAttempts and stop computing an exponential increase.
- Loading branch information
Showing
1 changed file
with
92 additions
and
30 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