Skip to content

Commit 2c4ac43

Browse files
authored
Merge pull request #20 from vitaliy-gituser/master
When using this library and if another queue driver is used, in class…
2 parents e19e883 + 9355317 commit 2c4ac43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Worker.php

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public function daemon($connectionName, $queueNames, WorkerOptions $options)
5050

5151
if (false == $this->interop) {
5252
parent::daemon($connectionName, $this->queueNames, $options);
53+
return;
5354
}
5455

5556
$context = $this->queue->getQueueInteropContext();
@@ -77,6 +78,7 @@ public function runNextJob($connectionName, $queueNames, WorkerOptions $options)
7778

7879
if (false == $this->interop) {
7980
parent::daemon($connectionName, $this->queueNames, $options);
81+
return;
8082
}
8183

8284
$context = $this->queue->getQueueInteropContext();

0 commit comments

Comments
 (0)