No need to set $threads = 0 on the line before it's set ;)
This commit is contained in:
parent
23651c6142
commit
b8643f73b7
|
@ -168,7 +168,6 @@ if (have_option('t')) {
|
||||||
} else if (have_option('--threads')) {
|
} else if (have_option('--threads')) {
|
||||||
$threads = intval(get_option_value('--threads'));
|
$threads = intval(get_option_value('--threads'));
|
||||||
} else {
|
} else {
|
||||||
$threads = 0;
|
|
||||||
//If there is no argument for number of threads
|
//If there is no argument for number of threads
|
||||||
//Try reading a config option for the number
|
//Try reading a config option for the number
|
||||||
$threads = common_config('queue','threads');
|
$threads = common_config('queue','threads');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user