diff --git a/src/Polly.Core/Hedging/HedgingStrategyOptions.TResult.cs b/src/Polly.Core/Hedging/HedgingStrategyOptions.TResult.cs index 771a9029f54..49aea2ccba8 100644 --- a/src/Polly.Core/Hedging/HedgingStrategyOptions.TResult.cs +++ b/src/Polly.Core/Hedging/HedgingStrategyOptions.TResult.cs @@ -14,11 +14,11 @@ public class HedgingStrategyOptions : ResilienceStrategyOptions public HedgingStrategyOptions() => Name = HedgingConstants.DefaultName; /// - /// Gets or sets the minimal time of waiting before spawning a new hedged call. + /// Gets or sets the maximum waiting time before spawning a new hedged action. /// /// - /// You can also use to create all hedged tasks (value of ) at once - /// or to force the hedging strategy to never create new task before the old one is finished. + /// You can use to create all hedged actions (value of ) at once + /// or to force the hedging strategy to never create new action before the old one is finished. /// If you want a greater control over hedging delay customization use . /// /// @@ -27,12 +27,8 @@ public class HedgingStrategyOptions : ResilienceStrategyOptions public TimeSpan Delay { get; set; } = HedgingConstants.DefaultHedgingDelay; /// - /// Gets or sets the maximum hedged attempts to perform the desired task. + /// Gets or sets the maximum number of hedged actions to use, in addition to the original action. /// - /// - /// The value defines the maximum number of hedged tasks that are executed by the strategy. - /// This value does not include the primary hedged task that is always performed initially. - /// /// /// The default value is 1. The value must be bigger or equal to 1, and lower or equal to 10. /// @@ -70,7 +66,7 @@ public class HedgingStrategyOptions : ResilienceStrategyOptions }; /// - /// Gets or sets a generator that generates hedging delays for each hedging attempt. + /// Gets or sets a generator that generates hedging delays for each hedging action. /// /// /// The takes precedence over . If specified, the is ignored. diff --git a/src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs b/src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs index 3e2ae0b5e07..aa4015af4f7 100644 --- a/src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs +++ b/src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs @@ -82,7 +82,7 @@ public class RetryStrategyOptions : ResilienceStrategyOptions public Func, ValueTask> ShouldHandle { get; set; } = DefaultPredicates, TResult>.HandleOutcome; /// - /// Gets or sets a generator instance that calculates the time between retries. + /// Gets or sets a generator that calculates the delay between retries. /// /// /// The generator has precedence over and .