arikawa icon indicating copy to clipboard operation
arikawa copied to clipboard

Gateway/API: v2: Millisecond accurate Retry-After by reading the JSON body

Open diamondburned opened this issue 5 years ago • 0 comments
trafficstars

v8 changes now have seconds in the Retry-After header instead of milliseconds, meaning the rate limiting is now less accurate. We need to read the JSON body for the seconds as a floating point number.

The Limiter API needs to read a body as well now.

diamondburned avatar Oct 28 '20 21:10 diamondburned