Fuck the Twitter Rate Limit #45
Labels
No labels
bug
enhancement
good first issue
halted
help wanted
security
wait for upstream
wait to be tested
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: b3yond/ticketfrei#45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @b3yond Posted at: 06.10.2018 08:42
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?
Author: @b3yond Posted at: 07.10.2018 19:55
We need to revert #39, this shit is unbearable.
Author: @b3yond Posted at: 07.10.2018 20:00
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.
Author: @b3yond Posted at: 07.10.2018 20:01
Let's discuss all the twitter rate limit stuff in this issue.
Author: @b3yond Posted at: 07.10.2018 21:08
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.
Author: @b3yond Posted at: 11.10.2018 20:28
okay, twitter DMs don't work for other reasons. (details: #39 )
So let's keep this issue open if other problems arise.