feat(siteruntime): native alarm cap + retry options
This commit is contained in:
@@ -44,4 +44,16 @@ public class SiteRuntimeOptions
|
|||||||
/// Default: 8.
|
/// Default: 8.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ScriptExecutionThreadCount { get; set; } = 8;
|
public int ScriptExecutionThreadCount { get; set; } = 8;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Max mirrored native alarms retained per source binding before older entries are dropped (logged).
|
||||||
|
/// Default: 1000.
|
||||||
|
/// </summary>
|
||||||
|
public int MirroredAlarmCapPerSource { get; set; } = 1000;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Interval in milliseconds to retry a failed native alarm subscription.
|
||||||
|
/// Default: 5000ms.
|
||||||
|
/// </summary>
|
||||||
|
public int NativeAlarmRetryIntervalMs { get; set; } = 5000;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user