feat(lmxproxy): phase 1 — v2 protocol types and domain model
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user