Skip to content

Commit

Permalink
Update Neos.ContentRepositoryRegistry/Classes/Factory/ProjectionCatch…
Browse files Browse the repository at this point in the history
…UpTrigger/SubprocessProjectionCatchUpTrigger.php

Co-authored-by: Bastian Waidelich <[email protected]>
  • Loading branch information
kitsunet and bwaidelich committed Nov 28, 2023
1 parent f52910f commit 5843e5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function triggerCatchUp(Projections $projections): void
{
// modelled after https://github.com/neos/Neos.EventSourcing/blob/master/Classes/EventPublisher/JobQueueEventPublisher.php#L103
// and https://github.com/Flowpack/jobqueue-common/blob/master/Classes/Queue/FakeQueue.php
$queuedProjections = array_map(fn($projection) => $this->startCatchUpWithQueueing($projection), iterator_to_array($projections->getIterator()));
$queuedProjections = array_map($this->startCatchUpWithQueueing(...), iterator_to_array($projections));
$queuedProjections = array_filter($queuedProjections);

$attempts = 0;
Expand Down

0 comments on commit 5843e5e

Please sign in to comment.