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
throttle() and throttleTime() operators work perfectly fine for rate-limiting, except that they ignore throttled requests altogether. this can be fixed with a timeout() with a custom return status, however thats a hacky solution.
instead, the neatest, most convenient solution would be to have a rateLimit() operator that acts exactly like throttle() but also responds to throttled requests with a 429 status code.
The text was updated successfully, but these errors were encountered:
throttle()
andthrottleTime()
operators work perfectly fine for rate-limiting, except that they ignore throttled requests altogether. this can be fixed with atimeout()
with a custom return status, however thats a hacky solution.instead, the neatest, most convenient solution would be to have a
rateLimit()
operator that acts exactly likethrottle()
but also responds to throttled requests with a 429 status code.The text was updated successfully, but these errors were encountered: