mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Fix event scripts always running with low priority if Session:LowPriorityDeploymentProcesses was set
This commit is contained in:
@@ -651,7 +651,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles
|
||||
noShellExecute: true))
|
||||
using (cancellationToken.Register(() => script.Terminate()))
|
||||
{
|
||||
if (sessionConfiguration.LowPriorityDeploymentProcesses)
|
||||
if (sessionConfiguration.LowPriorityDeploymentProcesses && deploymentPipeline)
|
||||
script.AdjustPriority(false);
|
||||
|
||||
var exitCode = await script.Lifetime;
|
||||
|
||||
Reference in New Issue
Block a user