Skip to content
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

Proposal: pluggable backoff strategies #9

Closed
codyaray opened this issue Nov 28, 2018 · 2 comments
Closed

Proposal: pluggable backoff strategies #9

codyaray opened this issue Nov 28, 2018 · 2 comments

Comments

@codyaray
Copy link

Exponential backoff is frequently useful, but sometimes you just want a fixed delay or a delay +/- some random jitter. Seems like you could just take an extra option like retry.Strategy(retry.Exponential) or retry.Jitter or retry.Constant or something.

@JaSei
Copy link
Collaborator

JaSei commented Dec 3, 2018

Good idea, I look at it...

@JaSei
Copy link
Collaborator

JaSei commented Jan 11, 2019

done by #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants