bottleneck
bottleneck copied to clipboard
Extend existing limiter
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