From 3f955e0b61599f8c62d04ea3841a6d78e4bc1760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jurczyk?= Date: Sun, 18 Dec 2022 00:18:40 +0100 Subject: [PATCH] Version bump, typo fix, increased default value --- Core/LocalAdmin.cs | 2 +- IO/Config.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/LocalAdmin.cs b/Core/LocalAdmin.cs index a1afc19..51b0cf9 100644 --- a/Core/LocalAdmin.cs +++ b/Core/LocalAdmin.cs @@ -30,7 +30,7 @@ namespace LocalAdmin.V2.Core; public sealed class LocalAdmin : IDisposable { - public const string VersionString = "2.5.7"; + public const string VersionString = "2.5.8"; private static readonly ConcurrentQueue InputQueue = new(); private static readonly Stopwatch RestartsStopwatch = new(); diff --git a/IO/Config.cs b/IO/Config.cs index c83fa92..a992c7e 100644 --- a/IO/Config.cs +++ b/IO/Config.cs @@ -26,7 +26,7 @@ public class Config public ushort RoundLogsExpirationDays = 180; public bool CompressOldRoundLogs; public ushort RoundLogsCompressionThresholdDays = 14; - public uint HeartbeatSpanMaxThreshold = 15; + public uint HeartbeatSpanMaxThreshold = 30; public uint HeartbeatRestartInSeconds = 11; public string LaLiveViewTimeFormat = "yyyy-MM-dd HH:mm:ss.fff zzz"; @@ -185,7 +185,7 @@ public static Config DeserializeConfig(string[] lines) cfg.RoundLogsCompressionThresholdDays = b; break; - case "heartbeart_restart_in_seconds" when ushort.TryParse(sp[1], out var b): + case "heartbeat_restart_in_seconds" when ushort.TryParse(sp[1], out var b): cfg.HeartbeatRestartInSeconds = b; break;