Skip to content

Fixed REST client ratelimit issues

Mateusz Brawański requested to merge github/fork/Neuheit/patch/470 into master

Created by: Neuheit

Summary Fixes #470 (closed) and implements support for cycling buckets.

Details

This fixes a long time bug with the REST client which previously decremented atomically without headers. This would cause the client to assume it was using a request when in reality it was reset to its initial state, and never update it, which would then make it get stuck in a loop for a minute. Additionally, this now handles whenever the delete messages route continuously switches buckets.

Changes proposed

  • Prevents the rest client from atomically decrementing without headers.
  • Adds support for cycling buckets.

Merge request reports

Loading