-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exponential backoff with max delay #226
Labels
Milestone
Comments
Sounds good to me ! Can you send a PR ? |
Of course. One issue I foresee is I can think of a few options
Any preference, thoughts or different solutions to the above? |
In my opinion it's better to go with the most straight forward solution. The solution 1 looks good to me |
Merged
Merged
Merged
Merged
Merged
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
RetryConstraint
enumexponential
case seems it will infinitely grow exponentially.My suggestion is to add an additional field for
maxDelay
such that..exponential(initial: TimeInterval, maxDelay: TimeInterval)
to prevent it growing uncontrollably. Does this sound like something appropriate for this lib? Happy to construct a PR of you need some help.The text was updated successfully, but these errors were encountered: