From 5fd6530f479813bb489f8f3ff32cf74bd7a7ded6 Mon Sep 17 00:00:00 2001 From: Holger Reinhardt Date: Fri, 29 Jul 2016 14:22:47 +0200 Subject: [PATCH] fix queue option on WorkCommand --- src/Console/WorkCommand.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Console/WorkCommand.php b/src/Console/WorkCommand.php index 9622c78..7fcf699 100644 --- a/src/Console/WorkCommand.php +++ b/src/Console/WorkCommand.php @@ -46,7 +46,6 @@ class WorkCommand extends IlluminateCommand $interval = (int)$this->option('interval'); $count = (int)$this->option('count'); - $queues = explode(',', $queue); $logLevel = $this->getLogLevel(); if ($count > 1) { @@ -60,11 +59,11 @@ class WorkCommand extends IlluminateCommand } if (0 === $pid) { - $this->startWorker($queues, $interval, $logLevel); + $this->startWorker($queue, $interval, $logLevel); } } } else { - $this->startWorker($queues, $interval, $logLevel); + $this->startWorker($queue, $interval, $logLevel); } return 0;