Skip to content

Commit

Permalink
ConsumerCommand update
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed May 10, 2017
1 parent 73442fe commit 1e4efca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Console/Command/ConsumerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ protected function execute(InputInterface $input, OutputInterface $output): void

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


$consumer = $this->consumerFactory->getConsumer($consumerName);
$consumer->consumeForSpecifiedTime($secondsToLive);
}


Expand Down

0 comments on commit 1e4efca

Please sign in to comment.