We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 410b500 commit a92cae3Copy full SHA for a92cae3
pkg/mongodb/MongodbSubscriptionConsumer.php
@@ -76,6 +76,8 @@ public function consume(int $timeout = 0): void
76
unset($currentQueueNames[$result['queue']]);
77
} else {
78
$currentQueueNames = [];
79
+
80
+ usleep(200000); // 200ms
81
}
82
83
if ($timeout && microtime(true) >= $endAt) {
0 commit comments