namespace ScadaLink.DeploymentManager;
///
/// Configuration options for the central-side Deployment Manager.
///
public class DeploymentManagerOptions
{
///
/// WP-6: Timeout for a lifecycle command round-trip (disable, enable, delete).
/// Applied as a linked-CTS deadline in DeploymentService so a hung or
/// unreachable site does not hold the per-instance operation lock indefinitely.
///
public TimeSpan LifecycleCommandTimeout { get; set; } = TimeSpan.FromSeconds(30);
/// WP-7: Timeout per site for system-wide artifact deployment.
public TimeSpan ArtifactDeploymentTimeoutPerSite { get; set; } = TimeSpan.FromSeconds(120);
/// WP-3: Timeout for acquiring an operation lock on an instance.
public TimeSpan OperationLockTimeout { get; set; } = TimeSpan.FromSeconds(5);
}