Skip to content

Commit

Permalink
Run with parallel runner only when 2 or more processes are needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jun 21, 2022
1 parent e4a1b67 commit 184f27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/AnalyserRunner.php
Expand Up @@ -60,7 +60,7 @@ public function runAnalyser(
!$debug
&& $allowParallel
&& $mainScript !== null
&& $schedule->getNumberOfProcesses() > 0
&& $schedule->getNumberOfProcesses() > 1
) {
return $this->parallelAnalyser->analyse($schedule, $mainScript, $postFileCallback, $projectConfigFile, $tmpFile, $insteadOfFile, $input);
}
Expand Down

0 comments on commit 184f27a

Please sign in to comment.