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

Add ratelimiter to allow custom hard-coded global ratelimits #475

Merged
merged 1 commit into from
Nov 22, 2019

Commits on Nov 22, 2019

  1. Add ratelimiter to allow custom hard-coded global ratelimits

    This can be usedful for some very large bots that regularly hit the
    global ratelimits. It allows them to set a hard-coded limit that fits
    their needs and can be shared by multiple shards.
    
    A bot that runs on multiple machines can either use its own
    implementation of the Ratelimits that communicates across the network
    to ensure that no ratelimits are hit, or just adjust the values and
    grant every machine only a part of the available global limit.
    Bastian committed Nov 22, 2019
    Configuration menu
    Copy the full SHA
    4adb931 View commit details
    Browse the repository at this point in the history