<PackageReference Include="Polly.Core" Version="8.2.0" />

RetryConstants

static class RetryConstants
using System; using System.Runtime.CompilerServices; namespace Polly.Retry { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] internal static class RetryConstants { public const string DefaultName = "Retry"; public const string OnRetryEvent = "OnRetry"; public const DelayBackoffType DefaultBackoffType = DelayBackoffType.Constant; public const int DefaultRetryCount = 3; public const int MaxRetryCount = int.MaxValue; public static readonly TimeSpan DefaultBaseDelay = TimeSpan.FromSeconds(2); } }