Made sure to restart the queue as part of the post-update procedure
This commit is contained in:
parent
9d9efca633
commit
33fe019df0
1 changed files with 10 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ class PostUpdate extends Command
|
|||
|
||||
exec('vendor/bin/composer install --no-dev -o', $output);
|
||||
|
||||
info(print_r($output,1));
|
||||
info(print_r($output,1));
|
||||
info("finished running composer install ");
|
||||
|
||||
try {
|
||||
|
|
@ -75,9 +75,17 @@ class PostUpdate extends Command
|
|||
|
||||
info("view cleared");
|
||||
|
||||
try {
|
||||
Artisan::call('queue:restart');
|
||||
} catch (\Exception $e) {
|
||||
info("I wasn't able to restart the queue.");
|
||||
}
|
||||
|
||||
info("queue restarted");
|
||||
|
||||
VersionCheck::dispatch();
|
||||
|
||||
info("Sent for version check");
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue