diff --git a/src/Ocelot/Configuration/QoSOptions.cs b/src/Ocelot/Configuration/QoSOptions.cs index 33c57ef1c..f932530d5 100644 --- a/src/Ocelot/Configuration/QoSOptions.cs +++ b/src/Ocelot/Configuration/QoSOptions.cs @@ -90,7 +90,6 @@ public QoSOptions( /// public double FailureRatio { get; } = .8; - /// /// The time period over which the failure-success ratio is calculated (in milliseconds). /// @@ -109,7 +108,7 @@ public QoSOptions( /// public int TimeoutValue { get; } - public bool UseQos => ExceptionsAllowedBeforeBreaking > 0 || TimeoutValue > 0; + public bool UseQos => ExceptionsAllowedBeforeBreaking >= 2 || TimeoutValue > 0; public bool IsValid() => ExceptionsAllowedBeforeBreaking <= 0 ||