From b44a844152060250190e131e78b4e3987c0e1542 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sun, 31 May 2026 01:42:41 -0400 Subject: [PATCH] feat(siteruntime): native alarm cap + retry options --- .../SiteRuntimeOptions.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/ZB.MOM.WW.ScadaBridge.SiteRuntime/SiteRuntimeOptions.cs b/src/ZB.MOM.WW.ScadaBridge.SiteRuntime/SiteRuntimeOptions.cs index fa86c445..967ad376 100644 --- a/src/ZB.MOM.WW.ScadaBridge.SiteRuntime/SiteRuntimeOptions.cs +++ b/src/ZB.MOM.WW.ScadaBridge.SiteRuntime/SiteRuntimeOptions.cs @@ -44,4 +44,16 @@ public class SiteRuntimeOptions /// Default: 8. /// public int ScriptExecutionThreadCount { get; set; } = 8; + + /// + /// Max mirrored native alarms retained per source binding before older entries are dropped (logged). + /// Default: 1000. + /// + public int MirroredAlarmCapPerSource { get; set; } = 1000; + + /// + /// Interval in milliseconds to retry a failed native alarm subscription. + /// Default: 5000ms. + /// + public int NativeAlarmRetryIntervalMs { get; set; } = 5000; }