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

Retrying requests #92

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

Retrying requests #92

wants to merge 3 commits into from

Conversation

tylerganter
Copy link
Contributor

@tylerganter tylerganter commented Apr 8, 2020

with exponential backoff

This could probably be abstracted out as a RetryingRequest class or something of the like, but it feels like overkill ATM. Something to do in the future

@lethosor
Copy link
Contributor

lethosor commented Apr 8, 2020

Is it possible for this to just check for 429s?

@tylerganter tylerganter requested a review from a team April 8, 2020 16:12
@tylerganter tylerganter marked this pull request as ready for review April 8, 2020 16:12
@tylerganter
Copy link
Contributor Author

Is it possible for this to just check for 429s?

Why's that? We've been having issues with 429, 500, 502 and 504

@tylerganter tylerganter self-assigned this Apr 8, 2020
@tylerganter tylerganter added the enhancement Code enhancement label Apr 8, 2020
@brimoor
Copy link
Contributor

brimoor commented Apr 8, 2020

500 errors are supposed to be things that won't be fixed by retrying.

Let's have a team chat about retries before we release functionality like this. Definitely has potential, but just want to discuss.

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

Successfully merging this pull request may close these issues.

3 participants