-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
#908 Quality of Service - Configuration #1279
Conversation
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.
lgtm
Hi when can I get this release. |
@eddex when I can expect this to get merged with the main branch |
@eddex Marco, Also. I'm not going even to review this PR because of invalid base (target) branch. So, we don't deliver fixes to master! We deliver bug fixes and new features to develop branch only! I guess Tom had changed development process (git flow) maybe a few years ago. So, master (main) was default branch in the past (2-3 years ago). After that Tom has made develop as default branch. |
@DanHarltey Hi Dan! Requesting to master is wrong! Please, change the base (target) branch! Pay attention that CI pipelines are working for main and develop branches only! |
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.
+ Approved
@eddex Hi Marco! Could you review old and my changes once again please? Please note that real bug fix is in try-block of the And the core of the bug fix is in lines L33-L35 which was proposed by @DanHarltey in his solution from initial commit 91eed16d96cf13e97d6215bcfb48f1ddf5d0fadd. Also, I have added unit tests as the I would appreciate your code review! |
… characters: should_*
Dan, JFYI Thanks for updating of develop branch! |
.WrapAsync(_qoSProvider.CircuitBreaker.Policies) | ||
.ExecuteAsync(() => base.SendAsync(request, cancellationToken)); | ||
var policies = _qoSProvider.CircuitBreaker.Policies; | ||
if (policies.Any()) |
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.
if (policies.Any()) | |
if (!policies.Any()) return await base.SendAsync(request, cancellationToken); |
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.
Fixed by RaynaldM code review
src/Ocelot.Provider.Polly/PollyCircuitBreakingDelegatingHandler.cs
Outdated
Show resolved
Hide resolved
@TomPallister |
Fixes #908
Fixing an issue where only setting timeout value in QoS would result in a exception getting thrown.
Proposed Changes