Skip to content

Commit

Permalink
Update src/Service/Indexer/IndexerProgressState.php
Browse files Browse the repository at this point in the history
Co-authored-by: Mario Schäper <95750382+sitepark-schaeper@users.noreply.github.com>
  • Loading branch information
sitepark-veltrup and sitepark-schaeper authored Apr 29, 2024
1 parent eff2d80 commit 766787a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Service/Indexer/IndexerProgressState.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ public function startUpdate(int $total): void
$this->isUpdate = true;
$storedStatus = $this->statusStore->load($this->getStatusStoreKey());
$this->status = new IndexerStatus(
IndexerStatusState::RUNNING,
$storedStatus->startTime,
$storedStatus->endTime,
$storedStatus->total + $total,
$storedStatus->processed,
$storedStatus->skipped,
new DateTime(),
$storedStatus->updated,
$storedStatus->errors,
state: IndexerStatusState::RUNNING,
startTime: $storedStatus->startTime,
endTime: $storedStatus->endTime,
total: $storedStatus->total + $total,
processed: $storedStatus->processed,
skipped: $storedStatus->skipped,
lastUpdate: new DateTime(),
updated: $storedStatus->updated,
errors: $storedStatus->errors,
);
$this->statusStore->store(
$this->getStatusStoreKey(),
Expand Down

0 comments on commit 766787a

Please sign in to comment.