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

Only retry on request errors with 5XX status code and use exponential backoff #1146

Merged
merged 3 commits into from
Aug 31, 2018

Conversation

jonmmease
Copy link
Contributor

@jonmmease jonmmease commented Aug 31, 2018

Implements #1114 and changes from random retry every second or so to exponential backoff.

This should be more reliable for when the back-end servers are temporarily overwhelmed.

Tries in seconds:
0, 1, 2, 4, 8, 16, 16, 16... for up to 3 minutes total.

cc @priyatharsan

Also, switch to exponential backoff to give the servers more breathing
room.

Tries in seconds:
     0, 1, 2, 4, 8, 16, 16, 16... for up to 3 minutes total.
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

Successfully merging this pull request may close these issues.

None yet

1 participant