Made sure to restart the queue as part of the post-update procedure

This commit is contained in:
Lukas Mueller 2021-09-26 13:21:03 +02:00
parent 9d9efca633
commit 33fe019df0

View File

@ -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");
}
}