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