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 if an HTTP error is received #19

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

martinthomson
Copy link
Collaborator

@martinthomson martinthomson commented Nov 21, 2023

This doesn't seem to work as this gets 502 errors consistently in my attempts to use this, but it should help with transient faults.

This probably needs to be a bit more selective, with 5xx errors getting a retry and 4xx errors failing immediately, but still...

This doesn't seem to work as this gets 502 errors consistently in my
attempts to use this, but it should help with transient faults.
But it is highly fragile still, even with 5 retries I've needed the fifth
sometimes.
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.

1 participant