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
Hi @tipsy it would be great to access the limit, hit count and remaining time (for the header fields I mentioned above).
I guess you could expose $requestLimit for the given context? Can there be more than one keyFunction for a context? If so perhaps the whole ConcurrentMap keyToRequestCount?
Not sure how I would determine the seconds/milliseconds left until the count is reset. If the executor scheduler runs on the start of each timeUnit I guess a rounding up to the next time unit and subtracting the current time would work.
I was looking to access the current rate limit count and add it to the Header...
For example: Rate limit 30/second, called 25 times, 58 seconds to reset.
using it something like...
The text was updated successfully, but these errors were encountered: