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

Update plugin to handle different rate-limit error #208

Closed
Subhajit97 opened this issue Oct 6, 2022 · 0 comments · Fixed by #209
Closed

Update plugin to handle different rate-limit error #208

Subhajit97 opened this issue Oct 6, 2022 · 0 comments · Fixed by #209
Assignees
Labels
enhancement New feature or request

Comments

@Subhajit97
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Most of the RateLimitError has a cooldown period of 35-45 minutes, or so. For some of the other rate limit errors (i.e. Search API), the limit resets after 30 seconds.
https://docs.github.com/en/rest/rate-limit#about-the-rate-limit-api

Describe the solution you'd like
If the limit refresh time is more than 1 minute, then it is difficult to perform the retry operation, since it will increase the wait time to execute the query. If the limit refresh time is less than 60 seconds, update the plugin to perform a retry operation.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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

Successfully merging a pull request may close this issue.

1 participant