Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Patches to the rate limit parsing

Compare
Choose a tag to compare
@andersfylling andersfylling released this 28 Nov 18:33
· 209 commits to develop since this release

The issue #356 comments on some incorrect logic when handling rate limits. Previously this would cause several requests to simply fail (say you're spamming reactions), this patch fixes that.

Note that there's still a bucket race, so the second request might use a old/invalid bucket, which can cause a temporary rate limit. This is being worked on.