Skip to content

Commit

Permalink
Fix timeout system not starting on server start
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
PJB3005 committed Oct 4, 2024
1 parent 0f28774 commit e223153
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ private async Task StartServer(CancellationToken cancel)
}

MonitorServer(_startNumber, cancel);
StartTimeoutTimer();
}

private string GetProgramPath()
Expand Down

0 comments on commit e223153

Please sign in to comment.