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

Should retry automatically for some kinds of errors from the API #1208

Open
dobesv opened this issue Mar 25, 2024 · 0 comments
Open

Should retry automatically for some kinds of errors from the API #1208

dobesv opened this issue Mar 25, 2024 · 0 comments

Comments

@dobesv
Copy link

dobesv commented Mar 25, 2024

When making requests to Google APIs, you can get some HTTP status codes or network errors that indicate the request should be retried. This project doesn't offer a simple way to implement this, leaving it up to the library user to roll their own each time. It would be a great benefit to users of the library if this was handled for them automatically

HTTP status 429, 500, or 503 should be retried auotmatically with exponential back-off.

See also:

@dobesv dobesv changed the title Should retry for some kinds of errors from the API Should retry automatically for some kinds of errors from the API Mar 25, 2024
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

1 participant