Add read state access to ApplicationRateLimiter
What does this MR do and why?
This adds a method to ApplicationRateLimiter
which has the same arity as .throttled?
but will return the current rate-limiting state without incrementing the rate limit.
This will allow the front end to display when a webhook is rate limited #345165 (closed).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #345165 (closed)
Edited by Luke Duncalfe