-
Notifications
You must be signed in to change notification settings - Fork 751
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
Http resilience readme #4663
Http resilience readme #4663
Conversation
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=458982&view=codecoverage-tab |
Co-authored-by: martintmk <103487740+martintmk@users.noreply.github.com>
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=459580&view=codecoverage-tab |
clientBuilder.AddResilienceHandler("myHandler", b => | ||
{ | ||
b.AddConcurrencyLimiter(new ConcurrencyLimiterOptions()) | ||
.AddTimeout(new TimeoutStrategyOptions()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.AddTimeout(new TimeoutStrategyOptions()) | |
.AddTimeout(new HttpTimeoutStrategyOptions()) |
It's better to use http specific options when possible. Applies to other as well. (retries, CB)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is HttpTimeoutStrategyOptions better when it doesn't have any properties? Why does it even exist?
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=459625&view=codecoverage-tab |
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=459774&view=codecoverage-tab |
Descriptions borrowed from the API docs
Microsoft Reviewers: Open in CodeFlow