Skip to content
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 limiting #23

Open
kawaii opened this issue Mar 5, 2019 · 0 comments
Open

Rate limiting #23

kawaii opened this issue Mar 5, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@kawaii
Copy link
Member

kawaii commented Mar 5, 2019

The bot can be rate limited and Discord will tell us when we're allowed to send another request.

We don't know what to do about it because although we can probably enqueue a whole bunch of unsent messages, if we're being rate limited, this is unlikely to drain after any reasonable time.

Maybe we drop them? First up we need to honour that response and throttle ourselves.

@kawaii kawaii added enhancement New feature or request help wanted Extra attention is needed labels Mar 5, 2019
@kawaii kawaii added this to the 1.0 milestone Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant