The TokenBucket and SlidingWindowCounter rate limiters do not return a retryAfter timestamp. This timestamp represents the minimum time at which a new request could be sent so that it succeeds. retryAfter should have the following values:
0 if the request succeeds
Infinity if the request exceeds the window/bucket capacity
timestamp > now if the request can be allowed in the future.
The
TokenBucket
andSlidingWindowCounter
rate limiters do not return aretryAfter
timestamp. This timestamp represents the minimum time at which a new request could be sent so that it succeeds.retryAfter
should have the following values:0
if the request succeedsInfinity
if the request exceeds the window/bucket capacitytimestamp > now
if the request can be allowed in the future.