From eda7103056bc15c3294ad58c1ba3dadd62db6ff6 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 9 Mar 2026 17:39:16 +0100 Subject: [PATCH] Windows agents: run checks with lower priority not to let the monitoring block the actual services. --- lib/base/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/process.cpp b/lib/base/process.cpp index da35196ed..b279bd381 100644 --- a/lib/base/process.cpp +++ b/lib/base/process.cpp @@ -920,7 +920,7 @@ void Process::Run(const std::function& callback) envp[offset] = '\0'; if (!CreateProcess(nullptr, args, nullptr, nullptr, TRUE, - 0 /*EXTENDED_STARTUPINFO_PRESENT*/, envp, nullptr, &si.StartupInfo, &pi)) { + BELOW_NORMAL_PRIORITY_CLASS, envp, nullptr, &si.StartupInfo, &pi)) { DWORD error = GetLastError(); CloseHandle(outWritePipe); CloseHandle(outWritePipeDup);