Files
scadalink-design/lmxproxy/src-reference/ZB.MOM.WW.LmxProxy.Host/Configuration/ServiceRecoveryConfiguration.cs
Joseph Doherty 0d63fb1105 feat(lmxproxy): phase 1 — v2 protocol types and domain model
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 23:41:56 -04:00

29 lines
890 B
C#

namespace ZB.MOM.WW.LmxProxy.Host.Configuration
{
/// <summary>
/// Configuration for Windows service recovery
/// </summary>
public class ServiceRecoveryConfiguration
{
/// <summary>
/// Minutes to wait before restart on first failure
/// </summary>
public int FirstFailureDelayMinutes { get; set; } = 1;
/// <summary>
/// Minutes to wait before restart on second failure
/// </summary>
public int SecondFailureDelayMinutes { get; set; } = 5;
/// <summary>
/// Minutes to wait before restart on subsequent failures
/// </summary>
public int SubsequentFailureDelayMinutes { get; set; } = 10;
/// <summary>
/// Days before resetting the failure count
/// </summary>
public int ResetPeriodDays { get; set; } = 1;
}
}