Open Kahbazi opened 2 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Tagging subscribers to this area: @mangod9 See info in area-owners.md if you want to be subscribed.
Author: | Kahbazi |
---|---|
Assignees: | - |
Labels: | `api-suggestion`, `area-System.Threading`, `untriaged` |
Milestone: | - |
Background and motivation
Let's say we want to chain multiple limiter together. Limiters based on IP, Username and Endpoint. Now if I want to skip limiters for some IPs, I could call
GetNoLimiter()
for them but the chain will continue and those requests could be limited based on username or endpoints.I suggest to add an overload for
GetNoLimiter(bool skipChain)
. This limiter could return a leases with certain metadata andChainedPartitionedRateLimiter
could skip the chain if the metadata exists.cc/ @BrennanConroy @halter73
API Proposal
API Usage
Alternative Designs
No response
Risks
No response