Skip to content

Commit 7508778

Browse files
author
Alessandro Chitolina
committed
call signal_dispatch in queue loop
1 parent 6bb058c commit 7508778

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Queue/AmqpLibQueue.php

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public function runLoop()
8888
while (! $this->stopped) {
8989
try {
9090
$this->channel->wait(null, true, 1);
91+
pcntl_signal_dispatch();
9192
} catch (AMQPTimeoutException $ex) {
9293
} catch (AMQPIOWaitException $ex) {
9394
}

0 commit comments

Comments
 (0)