Skip to content

Commit

Permalink
Merge pull request #20 from kricha/master
Browse files Browse the repository at this point in the history
Fix Populate errno=11 Resource temporarily unavailable
  • Loading branch information
makasim authored Jun 26, 2019
2 parents 146767a + b501fc0 commit 65749cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Persister/QueuePagerPersister.php
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 65749cc

Please sign in to comment.