-
Notifications
You must be signed in to change notification settings - Fork 13
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
React to rate-limit being reached #87
Comments
Yes, big 👍 for this! |
Great idea @openjck . We may want to investigate a way to request/purchase increased rate limits as something like this would definitely, definitely limit scale. We may need multiple accounts to work around it, or something. Anywho, this is a great starting idea! |
Are we making the API reuqests with an oauth2 key/secret? We already have an MDN GitHub application; we could use its client/secret to increase our rate limit from 60/hour to 5,000/hour. |
We are using an API token with the commenter, which should already give us the 5,000/hour on comments. Octonode, however, is not using the token. |
We should still do this, but as it turns out, the rate-limit isn't the problem here. Comments fail to appear even when we are well below the limit. I'll open a separate issue for the real culprit. |
Opened #104 for the issue that actually prevented comments from appearing. |
This will increase our rate-limit to 5,000 but will not fix the commenting bug. [1] [1] groovecoder#87 (comment)
limiter looks to be the best-supported node module for dealing with rate limits. |
This will increase our rate-limit to 5,000 per hour but will not fix the commenting bug. [1] [1] groovecoder#87 (comment)
I think this is fixed via #112? |
Similar! What we called a rate-limit in #104 was actually just an anti-spam system. Submitting too many comments too quickly triggered the system and caused some comments to be dropped. We fixed that with #131. There's also a true API rate-limit of something like 5,000 requests per hour. This issue is about reacting when we reach that limit. |
When using OAUTH authentication, we are limited to 5,000 API calls per hour. We need to handle the case where the limit is reached.
The text was updated successfully, but these errors were encountered: