<PackageReference Include="Polly.Core" Version="8.0.0-alpha.2" />

HedgingConstants

static class HedgingConstants
using System; using System.Runtime.CompilerServices; namespace Polly.Hedging { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] internal static class HedgingConstants { public const string StrategyType = "Hedging"; public const string OnHedgingEventName = "OnHedging"; public const int DefaultMaxHedgedAttempts = 2; public const int MinimumHedgedAttempts = 2; public const int MaximumHedgedAttempts = 10; public static readonly TimeSpan DefaultHedgingDelay = TimeSpan.FromSeconds(2); } }