You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This commit updates Retry-After to be seconds-accurate instead of the
previous millisecond-accurate. Another issue (#153) is opened to get a
more accurate number, which is in the JSON body instead of the header.
This commit also removed the rate limit precision header. It also uses a
more accurate calculation algorithm to derive the reset time.
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.
The text was updated successfully, but these errors were encountered: