From 73c1e66a00192ba0f1649f84dcaa441113a56990 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sun, 1 Oct 2017 21:18:50 +0200 Subject: [PATCH] Backend process to play nice --- Utility/BotCode/PdfProcessor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Utility/BotCode/PdfProcessor.cs b/Utility/BotCode/PdfProcessor.cs index 363e6e38..9f45a7c0 100644 --- a/Utility/BotCode/PdfProcessor.cs +++ b/Utility/BotCode/PdfProcessor.cs @@ -166,6 +166,7 @@ namespace Swarmops.Utility.BotCode Process process = Process.Start("bash", "-c \"" + commandLine + "\""); + process.PriorityClass = ProcessPriorityClass.Idle; // play nice - this is a heavy op process.WaitForExit();