Add command to execute individual job

This commit is contained in:
Frederic Guillot
2017-01-28 10:50:25 -05:00
parent 20832b439d
commit 9357b3a4ec
5 changed files with 46 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ class QueueManager extends Base
public function listen()
{
if ($this->queue === null) {
throw new LogicException('No queue driver defined!');
throw new LogicException('No queue driver defined or unable to connect to broker!');
}
while ($job = $this->queue->pull()) {