Skip to content

Commit 1e4efca

Browse files
committed
ConsumerCommand update
1 parent 73442fe commit 1e4efca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Console/Command/ConsumerCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ protected function execute(InputInterface $input, OutputInterface $output): void
6060

6161
$this->validateInput($consumerName, $secondsToLive, $output); // May exit;
6262

63-
63+
$consumer = $this->consumerFactory->getConsumer($consumerName);
64+
$consumer->consumeForSpecifiedTime($secondsToLive);
6465
}
6566

6667

0 commit comments

Comments
 (0)