chore(communication): low-severity cleanup — eviction counting, shared ingest timeout, split app heartbeat interval, doc notes

This commit is contained in:
Joseph Doherty
2026-07-08 21:54:42 -04:00
parent 11c72ecf0f
commit 846279f6a8
7 changed files with 63 additions and 21 deletions
@@ -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);
}
}