Skip to content

Commit d8b0850

Browse files
authored
Update MongodbConsumer.php
1 parent dd12bd1 commit d8b0850

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/mongodb/MongodbConsumer.php

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ protected function receiveMessage()
137137
$collection = $this->context->getCollection();
138138
$message = $collection->findOneAndDelete(
139139
[
140+
'queue' => $this->queue->getName(),
140141
'$or' => [
141142
['delayed_until' => ['$exists' => false]],
142143
['delayed_until' => ['$lte' => $now]],

0 commit comments

Comments
 (0)