chore(comm): ctor-inject aggregator reconnect/stability tuning, remove process-global statics (plan R2-02 T12)

This commit is contained in:
Joseph Doherty
2026-07-13 10:19:51 -04:00
parent c29e588905
commit b7f8632db8
3 changed files with 26 additions and 12 deletions
@@ -234,7 +234,9 @@ public sealed class SiteAlarmLiveCacheService : ISiteAlarmLiveCache
grpcA,
grpcB,
_options.LiveAlarmCacheReconcileInterval,
_options.LiveAlarmCachePublishCoalesce));
_options.LiveAlarmCachePublishCoalesce,
TimeSpan.FromSeconds(5), // reconnect delay — former ReconnectDelay static default
TimeSpan.FromSeconds(60))); // stability window — former StabilityWindow static default
entry.Actor = system.ActorOf(props, $"site-alarm-aggregator-{entry.SiteId}-{Guid.NewGuid():N}");
entry.StartRetryTimer?.Dispose();