Download Latest Version 0.10.4 - Roaring Ratelimiter source code.tar.gz (29.9 MB)
Email in envelope

Get an email when there's a new version of Nostrum

Home / v0.10.2
Name Modified Size InfoDownloads / Week
Parent folder
0.10.2 - Rumbling ratelimiter source code.tar.gz 2025-02-19 29.9 MB
0.10.2 - Rumbling ratelimiter source code.zip 2025-02-19 30.0 MB
README.md 2025-02-19 508 Bytes
Totals: 3 Items   59.9 MB 0

This hotfix release fixes a small bug with the ratelimiter that caused it to empty ratelimit buckets when it shouldn't.

More technical description:

When the ratelimiter receives upstream ratelimit headers to parse, it checks out the X-Ratelimit-Retry-After in order to determine when the ratelimit bucket resets. It then schedules a timer that will start off new requests from the internal backlog of requests that could not have been sent (due to exceeding the ratelimit) as soon as it expires.

Source: README.md, updated 2025-02-19