Skip to content

Commit

Permalink
[parallel] Improve performance: Run RemovedAndAddeedFileProcessor aft…
Browse files Browse the repository at this point in the history
…er loop (#3219)
  • Loading branch information
samsonasik committed Dec 19, 2022
1 parent 2624b49 commit 980dc83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/Parallel/WorkerRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ public function run(Encoder $encoder, Decoder $decoder, Configuration $configura
}
}

$this->removedAndAddedFilesProcessor->run($configuration);

/**
* this invokes all listeners listening $decoder->on(...) @see \Symplify\EasyParallel\Enum\ReactEvent::DATA
*/
Expand Down Expand Up @@ -145,7 +147,6 @@ public function processFiles(File $file, Configuration $configuration, array $er
);
}

$this->removedAndAddedFilesProcessor->run($configuration);
return $errorAndFileDiffs;
}

Expand Down

0 comments on commit 980dc83

Please sign in to comment.