From 6d72ff2c2f7fa07dc153bcaa3ede483754d818b3 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Thu, 14 Nov 2024 11:41:18 +0100 Subject: [PATCH] Increased heartbeat period and reduced log-spam on the information level. --- Duplicati/Library/RemoteControl/KeepRemoteConnection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Duplicati/Library/RemoteControl/KeepRemoteConnection.cs b/Duplicati/Library/RemoteControl/KeepRemoteConnection.cs index 7e3eb0242..b454c9512 100644 --- a/Duplicati/Library/RemoteControl/KeepRemoteConnection.cs +++ b/Duplicati/Library/RemoteControl/KeepRemoteConnection.cs @@ -54,7 +54,7 @@ public class KeepRemoteConnection : IDisposable /// /// The interval between heartbeats /// - private static readonly TimeSpan HeartbeatInterval = TimeSpan.FromSeconds(15); + private static readonly TimeSpan HeartbeatInterval = TimeSpan.FromSeconds(60); /// /// 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 {