test(redundancy): cover stale-probe-not-demoted branch + make _probeFreshnessWindow readonly (code-review)

This commit is contained in:
Joseph Doherty
2026-06-15 13:11:01 -04:00
parent cf278035d2
commit 5382eea9b5
2 changed files with 45 additions and 1 deletions
@@ -59,7 +59,7 @@ public sealed class OpcUaPublishActor : ReceiveActor
private readonly Phase7Applier? _applier;
private readonly IActorRef? _dbHealthProbe;
private readonly TimeSpan _staleWindow;
private TimeSpan _probeFreshnessWindow;
private readonly TimeSpan _probeFreshnessWindow;
private readonly Akka.Cluster.Cluster _cluster = Akka.Cluster.Cluster.Get(Context.System);
private readonly ILoggingAdapter _log = Context.GetLogger();