Files
AlayaCore/AlayaCore/Models/Configuration/RetryPolicyOptions.cs
Ryan Macham 6938635ee4 Added Retry Policy and Launcher Error.
Included ErrorHelper for mapping.
2026-04-06 20:47:13 +01:00

12 lines
411 B
C#

namespace AlayaCore.Models.Configuration
{
public sealed class RetryPolicyOptions
{
public int MaxAttempts { get; set; } = 3;
public int BaseDelayMilliseconds { get; set; } = 500;
public double BackoffMultiplier { get; set; } = 2.0;
public int MaxDelayMilliseconds { get; set; } = 3000;
public static RetryPolicyOptions Default { get; } = new();
}
}