From 8c27d959dc752a3ab9a66fa5a62580154ffd10f7 Mon Sep 17 00:00:00 2001 From: Andrew M-Y Date: Tue, 30 Mar 2021 13:58:50 +0300 Subject: [PATCH] Fix running next job --- src/Worker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker.php b/src/Worker.php index 55b6210..a912c61 100644 --- a/src/Worker.php +++ b/src/Worker.php @@ -77,7 +77,7 @@ public function runNextJob($connectionName, $queueNames, WorkerOptions $options) $this->interop = $this->queue instanceof Queue; if (false == $this->interop) { - parent::daemon($connectionName, $this->queueNames, $options); + parent::runNextJob($connectionName, $this->queueNames, $options); return; }