Skip to content

Commit

Permalink
Fix #5939 (#5940)
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenhaas authored and weitzman committed Mar 28, 2024
1 parent a38d1b7 commit 5491e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/core/QueueCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function run(string $name, $options = ['time-limit' => self::REQ, 'items-

while ((!$time_limit || $remaining > 0) && (!$items_limit || $count < $items_limit) && ($item = $queue->claimItem($lease_time))) {
try {
$this->logger()->info(dt('Processing item @id from @name queue.', ['@name' => $name, '@id' => $item->item_id]));
$this->logger()->info(dt('Processing item @id from @name queue.', ['@name' => $name, '@id' => $item->item_id ?? $item->qid]));
$worker->processItem($item->data);
$queue->deleteItem($item);
$count++;
Expand Down

0 comments on commit 5491e16

Please sign in to comment.