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