Skip to content

Commit

Permalink
Version bump, typo fix, increased default value
Browse files Browse the repository at this point in the history
  • Loading branch information
zabszk committed Dec 17, 2022
1 parent 79cccc3 commit 3f955e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Core/LocalAdmin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> InputQueue = new();
private static readonly Stopwatch RestartsStopwatch = new();
Expand Down
4 changes: 2 additions & 2 deletions IO/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 3f955e0

Please sign in to comment.