-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce RateLimiterResilienceStrategy #1103
Conversation
src/Polly.RateLimiting/RateLimiterResilienceStrategyBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #1103 +/- ##
==========================================
+ Coverage 76.96% 77.69% +0.73%
==========================================
Files 191 199 +8
Lines 4597 4748 +151
Branches 838 846 +8
==========================================
+ Hits 3538 3689 +151
Misses 854 854
Partials 205 205
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
The issue or feature being addressed
Closes #1086
Details on the issue fix or feature implementation
The
Polly.RateLimiting
adopts the .NET Rate Limiting APIs for Polly scenarios.AddRateLimiter
extension methods forResiliencePipelineBuilder
.AddConcurrencyLimiter
convenience extension methods forResiliencePipelineBuilder
.RateLimiterRejectedException
to notify the caller that the operation was rate limited.Example:
Confirm the following