diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-31 10:11:55 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-31 10:11:55 -0400 |
commit | 92ac133d23cf3447412a6e69f68f2bc2e64ce9cd (patch) | |
tree | cf445cfe89e5590dae48bbe9715fbdc3ae139174 /app/Console | |
parent | a939ffe61fddf1ca64ca20b0b14e3b8a5f9230cf (diff) |
Send bootstrap event when starting worker
Diffstat (limited to 'app/Console')
-rw-r--r-- | app/Console/WorkerCommand.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Console/WorkerCommand.php b/app/Console/WorkerCommand.php index e332624b..86727a60 100644 --- a/app/Console/WorkerCommand.php +++ b/app/Console/WorkerCommand.php @@ -23,6 +23,7 @@ class WorkerCommand extends BaseCommand protected function execute(InputInterface $input, OutputInterface $output) { + $this->dispatcher->dispatch('app.bootstrap'); $this->queueManager->listen(); } } |