Increased heartbeat period and reduced log-spam on the information level.

This commit is contained in:
Kenneth Skovhede
2024-11-14 11:41:18 +01:00
parent c0e1bdd2c1
commit 6d72ff2c2f
@@ -54,7 +54,7 @@ public class KeepRemoteConnection : IDisposable
/// <summary>
/// The interval between heartbeats
/// </summary>
private static readonly TimeSpan HeartbeatInterval = TimeSpan.FromSeconds(15);
private static readonly TimeSpan HeartbeatInterval = TimeSpan.FromSeconds(60);
/// <summary>
/// The minimum time between certificate refreshes
@@ -257,7 +257,7 @@ public class KeepRemoteConnection : IDisposable
return;
_lastMessageReceived = DateTimeOffset.Now;
Log.WriteMessage(LogMessageType.Information, LogTag, "WebsocketMessage", "Received message from server: {0}", msg);
Log.WriteMessage(LogMessageType.Verbose, LogTag, "WebsocketMessage", "Received message from server: {0}", msg);
try
{