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

Retry on errors with specified HTTP methods #40

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nvelat
Copy link

@nvelat nvelat commented Jun 18, 2019

Supersedes PR: #36
Issue: #34

Allow the user to specify a list of HTTP methods to retry requests on if a status code in the range [500, 600] is received.

@DRuggeri
Copy link
Member

DRuggeri commented Jul 5, 2019

Thanks, @nvelat! I know this was created in reference to #34 which was just fixed (creating the merge conflict), but I see the community desire for retry logic aside from that issue. Can you share a few scenarios in this PR that retry logic would be helpful?

A quick thought is that if we are going to go as far as enabling retry logic, we should also let the user configure a cooldown timer and decide which status codes should be retried as well. Just hoping to get the reasonably expected scenarios covered...

@oferchen
Copy link

oferchen commented Feb 2, 2023

This looks excellent.

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.

3 participants