-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rate limit PR creation #149
Comments
ivomurrell
added a commit
that referenced
this issue
Aug 20, 2021
We've been running into abuse limiting when creating many PRs for a workspace, presumably as a result of secondary rate limiting. From GitHub's best practises documentation: > Requests that create content which triggers notifications, such as issues, comments and pull requests, may be further limited and will not include a Retry-After header in the response. Please create this content at a reasonable pace to avoid further limiting. Requests are retried at a minimum of 5 seconds after the original, which is probably what we want even if the documentation is (intentionally) vague. Closes #149
ivomurrell
added a commit
that referenced
this issue
Aug 20, 2021
We've been running into abuse limiting when creating many PRs for a workspace, presumably as a result of secondary rate limiting. From GitHub's best practises documentation: > Requests that create content which triggers notifications, such as issues, comments and pull requests, may be further limited and will not include a Retry-After header in the response. Please create this content at a reasonable pace to avoid further limiting. Requests are retried at a minimum of 5 seconds after the original, which is probably what we want even if the documentation is (intentionally) vague. Closes #149
ivomurrell
added a commit
that referenced
this issue
Nov 26, 2021
We've been running into abuse limiting when creating many PRs for a workspace, presumably as a result of secondary rate limiting. From GitHub's best practises documentation: > Requests that create content which triggers notifications, such as issues, comments and pull requests, may be further limited and will not include a Retry-After header in the response. Please create this content at a reasonable pace to avoid further limiting. Requests are retried at a minimum of 5 seconds after the original, which is probably what we want even if the documentation is (intentionally) vague. Closes #149
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After creating 21 PRs in a row the 22nd PR returned an HTTP error for me:
(The rest of the PRs were created without issue.)
We should add some rate limiting to calls to the GitHub API so we avoid sporadically getting this error.
The text was updated successfully, but these errors were encountered: