Skip to content

fix: Value must be greater than zero exception in Polly CircuitBreaker #836

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

Conversation

Weidaicheng
Copy link
Contributor

In QoS Doc, it says that I can only config TimeoutValue in QoSOptions, just like below:

"QoSOptions": {
    "TimeoutValue":5000
}

But when I did so, it triggered an exception said "Value must be greater than zero." in PollyQoSProvider..ctor, so I changed code that would not config CircuitBreaker if ExceptionsAllowedBeforeBreaking was not configured.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
when Only TimeoutValue was set in QoSOptions
@thiagoloureiro thiagoloureiro merged commit bd058c2 into ThreeMammals:develop Mar 23, 2019
@raman-m raman-m added the QoS Ocelot feature: Quality of Service aka Polly label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QoS Ocelot feature: Quality of Service aka Polly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants