Skip to content

Commit

Permalink
Run the parallel worker even for a low number of files
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Feb 8, 2022
1 parent fcfcbd5 commit 2159057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/AnalyserRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function runAnalyser(
!$debug
&& $allowParallel
&& $mainScript !== null
&& $schedule->getNumberOfProcesses() > 1
&& $schedule->getNumberOfProcesses() > 0
) {
return $this->parallelAnalyser->analyse($schedule, $mainScript, $postFileCallback, $projectConfigFile, $tmpFile, $insteadOfFile, $input);
}
Expand Down

0 comments on commit 2159057

Please sign in to comment.