Skip to content

0.10.3 - Repeatedly 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.3
5e8b234

This hotfix fixes three small bugs with the ratelimiter:

  1. The ratelimiter would sometimes crash when the connection errored out
    due to matching on an explicit crash reason whilst :gun explicitly
    advises us not to. Thanks to Brandt for the fix.
  2. When a request to an endpoint with unknown ratelimit information
    (that is, the initial request) would crash due to a connection error,
    both the original request and repeated requests to said endpoint
    would hang forever. These requests are now retried after one second.
  3. The same case as in 2. could happen if we hit a 429. These requests
    are now retried after five seconds