Skip to content

Commit 2159057

Browse files
committed
Run the parallel worker even for a low number of files
1 parent fcfcbd5 commit 2159057

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/AnalyserRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function runAnalyser(
6060
!$debug
6161
&& $allowParallel
6262
&& $mainScript !== null
63-
&& $schedule->getNumberOfProcesses() > 1
63+
&& $schedule->getNumberOfProcesses() > 0
6464
) {
6565
return $this->parallelAnalyser->analyse($schedule, $mainScript, $postFileCallback, $projectConfigFile, $tmpFile, $insteadOfFile, $input);
6666
}

0 commit comments

Comments
 (0)