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

Chore: gracefully fail upon rate limit or bad API response #5

Open
imjohnbo opened this issue Nov 25, 2020 · 0 comments
Open

Chore: gracefully fail upon rate limit or bad API response #5

imjohnbo opened this issue Nov 25, 2020 · 0 comments
Labels

Comments

@imjohnbo
Copy link
Owner

Is your feature request related to a problem? Please describe.
Problem statement: this action should gracefully fail if API responses do.

Describe the solution you'd like
Exponential backoff retry when receiving 400 or 500 API responses.

If rate limit is encountered (X-RateLimit-Remaining = 0), generate report(s) with the data already collected and gracefully fail.

@imjohnbo imjohnbo added the chore label Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant