Skip to content

0.10.2 - Rumbling ratelimiter

Compare
Choose a tag to compare
@jchristgit jchristgit released this 02 Mar 10:15
· 135 commits to master since this release
v0.10.2
a24da57

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.