Skip to content

Commit 057bc63

Browse files
committed
Merge pull request #352 from aashley/master
When listening for signals consumer never exits on signal
2 parents cffcbfc + 4f6a5c8 commit 057bc63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Command/BaseConsumerCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ public function stopConsumer()
2727
try {
2828
$this->consumer->stopConsuming();
2929
} catch (AMQPTimeoutException $e) {}
30-
} else {
31-
exit();
3230
}
31+
exit();
3332
}
3433

3534
public function restartConsumer()

0 commit comments

Comments
 (0)