Send bootstrap event when starting worker
This commit is contained in:
@@ -23,6 +23,7 @@ class WorkerCommand extends BaseCommand
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->dispatcher->dispatch('app.bootstrap');
|
||||
$this->queueManager->listen();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user