From ef40e60284450955215b552ec9d12659c7a96d58 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 24 Jan 2025 19:30:40 +0000 Subject: [PATCH] Made warn time a const --- Libraries/Core/Utils/App.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Core/Utils/App.cs b/Libraries/Core/Utils/App.cs index 78942e2b..3b935533 100644 --- a/Libraries/Core/Utils/App.cs +++ b/Libraries/Core/Utils/App.cs @@ -124,7 +124,7 @@ public class App else { /* temporary for debug */ - var warnTime = 20 * 60; + const int warnTime = 20 * 60; if (secondsSinceLastRun % warnTime == 0) _logger.Debug(_localisationService.GetText("route_onupdate_no_response", updateable.GetRoute())); }