JRAW icon indicating copy to clipboard operation
JRAW copied to clipboard

Dynamic rate limiting

Open mattbdean opened this issue 6 years ago • 1 comments

The default rate limiter should be able to use the special response headers to dynamically adjust the request rate, just like in v0.9.0

  • X-Ratelimit-Used: Approximate number of requests used in this period
  • X-Ratelimit-Remaining: Approximate number of requests left to use
  • X-Ratelimit-Reset: Approximate number of seconds to end of period

mattbdean avatar Jun 10 '18 18:06 mattbdean

See the new ratelimit standardization proposal.

The proposal was:

it uses

X-Ratelimit-Limit: Maximum number of requests allowed
X-Ratelimit-Remaining: Approximate number of requests left to use
X-Ratelimit-Reset: Approximate number of seconds to end of period 

ioggstream avatar Jan 22 '20 15:01 ioggstream