Skip to content

Commit 6a7e861

Browse files
committed
fix 100% CPU usage and stop-when-empty flag of rabbitmq:consume command
1 parent 47ad591 commit 6a7e861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Consumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Consumer extends Worker
3232
/** @var AMQPChannel */
3333
protected $channel;
3434

35-
/** @var boolean */
35+
/** @var bool */
3636
protected $gotJob = false;
3737

3838
public function setContainer(Container $value): void

0 commit comments

Comments
 (0)