From c832690e05bd8f2fe699433495b72a1f344181b1 Mon Sep 17 00:00:00 2001 From: "peter.csala" <peter.csala@genesys.com> Date: Thu, 28 Sep 2023 15:04:24 +0200 Subject: [PATCH 1/2] Fix doc comment for CB's MinimumThroughput --- .../CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Polly.Core/CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs b/src/Polly.Core/CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs index 5de3a8e159c..3c072518b48 100644 --- a/src/Polly.Core/CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs +++ b/src/Polly.Core/CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs @@ -42,7 +42,7 @@ public class CircuitBreakerStrategyOptions<TResult> : ResilienceStrategyOptions /// for statistics to be considered significant and the circuit-breaker to come into action. /// </summary> /// <value> - /// The default value is 0.1 (i.e. 10%). The value must be 2 or greater. + /// The default value 100. The value must be 2 or greater. /// </value> [Range(CircuitBreakerConstants.MinimumValidThroughput, int.MaxValue)] public int MinimumThroughput { get; set; } = CircuitBreakerConstants.DefaultMinimumThroughput; From 607a6a5fde59c85009789c32418229d1e5c74270 Mon Sep 17 00:00:00 2001 From: "peter.csala" <peter.csala@genesys.com> Date: Thu, 28 Sep 2023 15:06:39 +0200 Subject: [PATCH 2/2] Fix doc comment for CB's MinimumThroughput --- .../CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Polly.Core/CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs b/src/Polly.Core/CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs index 3c072518b48..47cc7a9ecfb 100644 --- a/src/Polly.Core/CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs +++ b/src/Polly.Core/CircuitBreaker/CircuitBreakerStrategyOptions.TResult.cs @@ -42,7 +42,7 @@ public class CircuitBreakerStrategyOptions<TResult> : ResilienceStrategyOptions /// for statistics to be considered significant and the circuit-breaker to come into action. /// </summary> /// <value> - /// The default value 100. The value must be 2 or greater. + /// The default value is 100. The value must be 2 or greater. /// </value> [Range(CircuitBreakerConstants.MinimumValidThroughput, int.MaxValue)] public int MinimumThroughput { get; set; } = CircuitBreakerConstants.DefaultMinimumThroughput;