'3scale-Limit-Reset' Not useful when rate-limited
davidor opened this issue · 2 comments
davidor commented
The limit headers return the remaining quota and the reset time based on the most constrained limit that applies.
When the request is rate-limited, these headers return incorrect information.
I tried defining a metric with 2 limits:
- 5 requests / minute.
- 100k requests / year.
After making 6 requests in a minute, I would expect to see a reset-time close to 60 seconds. However, it returns the remaining for the year.