From e223153466ae70cd6e3004824a2a360a5ec54f87 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Fri, 4 Oct 2024 03:19:13 +0200 Subject: [PATCH] Fix timeout system not starting on server start This caused two things: 1. If the server could never contact the watchdog, timeouts didn't work. 2. If the server takes a long time to update, the timeout from the *previous* run would kill the next run. --- .../Components/ServerManagement/ServerInstance.Actor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SS14.Watchdog/Components/ServerManagement/ServerInstance.Actor.cs b/SS14.Watchdog/Components/ServerManagement/ServerInstance.Actor.cs index 88a6ab1..1d68df6 100644 --- a/SS14.Watchdog/Components/ServerManagement/ServerInstance.Actor.cs +++ b/SS14.Watchdog/Components/ServerManagement/ServerInstance.Actor.cs @@ -378,6 +378,7 @@ private async Task StartServer(CancellationToken cancel) } MonitorServer(_startNumber, cancel); + StartTimeoutTimer(); } private string GetProgramPath()