test(redundancy): cover stale-probe-not-demoted branch + make _probeFreshnessWindow readonly (code-review)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user