From b501fc099ce3473d461b46792659fff90d2b0fb4 Mon Sep 17 00:00:00 2001 From: Aleksej Krichevsky Date: Wed, 26 Jun 2019 16:11:41 +0300 Subject: [PATCH] Fix Populate errno=11 Resource temporarily unavailable --- Persister/QueuePagerPersister.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Persister/QueuePagerPersister.php b/Persister/QueuePagerPersister.php index 91ef724..f45cb92 100644 --- a/Persister/QueuePagerPersister.php +++ b/Persister/QueuePagerPersister.php @@ -93,6 +93,9 @@ public function insert(PagerInterface $pager, array $options = array()) ])); $message->setReplyTo($replyQueue->getQueueName()); + // Because of https://github.com/php-enqueue/enqueue-dev/issues/907 + \usleep(10); + $producer->send($queue, $message); $page++;