Files
ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ManagementService/ManagementServiceOptions.cs
T

11 lines
601 B
C#

namespace ZB.MOM.WW.ScadaBridge.ManagementService;
public class ManagementServiceOptions
{
/// <summary>Maximum time to wait for a management command to complete before returning a timeout error; default 30 seconds.</summary>
public TimeSpan CommandTimeout { get; set; } = TimeSpan.FromSeconds(30);
/// <summary>Maximum time to wait for a long-running transport/deploy command (import/preview/export bundle, deploy artifacts/instance) before returning a timeout error; default 5 minutes.</summary>
public TimeSpan LongRunningCommandTimeout { get; set; } = TimeSpan.FromMinutes(5);
}