Discord Exponential Backoff
untuned opened this issue ยท 4 comments
Feature description
When the Discord modules encounter a rate limit, instead of trying once every second, it should instead have an exponential backoff that increases the time between retries.
How the feature is useful
This will help prevent the rate limit from refreshing, and also prevent any blacklists of the server's IP from connecting to Discord. Also prevents the application from being disabled if too many requests are made.
should be improved with #4786
Seems more like something that should be part of the library EssX Discord uses, rather than EssX Discord itself.
Seems more like something that should be part of the library EssX Discord uses, rather than EssX Discord itself.
@Evidentsinger14 I'm inclined to disagree - I'd say it's down to us to handle ratelimiting gracefully. The webhook library should expose ratelimits and failures to us, but otherwise should just fire webhooks as we request.