bottleneck icon indicating copy to clipboard operation
bottleneck copied to clipboard

Extend existing limiter

Open vince1995 opened this issue 3 years ago • 0 comments

Would be great if there's a possibilty to extend an existing limiter.

Use case:

  • An API has a rate limit of 1,000 requests/minute.
  • But an endpoint of that API has a rate limit of 100 requests/minute.

The problem: I have now 2 limiters, the first one is configured to allow 900 r/min, the second to allow 100 r/min. The problem in that case is that I cannot use the full rate limit of the API.

https://developer.zendesk.com/rest_api/docs/support/usage_limits

vince1995 avatar Dec 08 '20 15:12 vince1995