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

RetryConstants

static class RetryConstants
using System; using System.Runtime.CompilerServices; namespace Polly.Retry { [NullableContext(1)] [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); } }