Enable configuration option for number of queuedaemon threads
This commit is contained in:
parent
b9d35659c8
commit
70d85c58e2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user