chore(communication): low-severity cleanup — eviction counting, shared ingest timeout, split app heartbeat interval, doc notes
This commit is contained in:
@@ -58,4 +58,15 @@ public class CommunicationOptionsTests
|
||||
Assert.Equal(TimeSpan.FromMinutes(5), options.DeploymentTimeout);
|
||||
Assert.Equal(TimeSpan.FromSeconds(2), options.TransportHeartbeatInterval);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ApplicationHeartbeatInterval_DefaultsTo5s_IndependentOfTransport()
|
||||
{
|
||||
var o = new CommunicationOptions();
|
||||
Assert.Equal(TimeSpan.FromSeconds(5), o.ApplicationHeartbeatInterval);
|
||||
// Retuning the Akka.Remote failure-detector heartbeat must NOT silently
|
||||
// retune the application-level site→central health heartbeat.
|
||||
o.TransportHeartbeatInterval = TimeSpan.FromSeconds(30);
|
||||
Assert.Equal(TimeSpan.FromSeconds(5), o.ApplicationHeartbeatInterval);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user