-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fuck the Twitter Rate Limit #45
Comments
We need to revert #39, this shit is unbearable. |
ah, according to https://blog.twitter.com/official/en_us/a/2008/what-does-rate-limit-exceeded-mean-updated.html the rate limit applies per account, not per app. #39 was very stupid. |
Let's discuss all the twitter rate limit stuff in this issue. |
on production, I put a counter into twitterDMs, which should log each request, directly after checking the rate limit. there was not one request. this shit is still broken. twitter DMs don't work because of this. |
okay, twitter DMs don't work for other reasons. (details: #39 ) So let's keep this issue open if other problems arise. |
Right now, different modules use Twitter Rate Limiting:
the twitter rate limit counter is a global var in tfglobals. Each bot checks if there is space for the next request, when it's their turn. This could lead to one of the bots being skipped all the time.
Can someone think of a better solution?
The text was updated successfully, but these errors were encountered: