From 70d85c58e277b53272520f54a4e6a2c0a75f121c Mon Sep 17 00:00:00 2001 From: abjectio Date: Thu, 11 Feb 2016 00:24:06 +0100 Subject: [PATCH] Enable configuration option for number of queuedaemon threads --- scripts/queuedaemon.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/queuedaemon.php b/scripts/queuedaemon.php index 582a3dd888..efc1e04e9e 100755 --- a/scripts/queuedaemon.php +++ b/scripts/queuedaemon.php @@ -169,6 +169,9 @@ if (have_option('t')) { $threads = intval(get_option_value('--threads')); } else { $threads = 0; + //If there is no argument for number of threads + //Try reading a config option for the number + $threads = common_config('queue','threads'); } if (!$threads) { $threads = getProcessorCount();