From c8b1835a7f0cc2db73be186a77afb856950c7eae Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Fri, 2 Jun 2023 00:33:09 -0700 Subject: [PATCH] Fix server applying the deployment low priority config to live servers and the live server priority config to deployments. This was causing prod live byond servers to run in low priority if `Session:LowPriorityDeploymentProcesses` was enabled. --- .../Components/Session/SessionControllerFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs b/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs index 0662b381d2..99426d3bb7 100644 --- a/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs @@ -525,7 +525,7 @@ namespace Tgstation.Server.Host.Components.Session try { - if (apiValidate) + if (!apiValidate) { if (sessionConfiguration.HighPriorityLiveDreamDaemon) process.AdjustPriority(true);