From f621619cc4e1dbbaafca62cb7ba8de5f1b553daa Mon Sep 17 00:00:00 2001 From: v2board Date: Sun, 18 Dec 2022 14:31:30 +0800 Subject: [PATCH] update: update command --- app/Console/Commands/V2boardUpdate.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/V2boardUpdate.php b/app/Console/Commands/V2boardUpdate.php index 662d7778..e39d92b1 100644 --- a/app/Console/Commands/V2boardUpdate.php +++ b/app/Console/Commands/V2boardUpdate.php @@ -57,6 +57,7 @@ class V2boardUpdate extends Command } catch (\Exception $e) { } } - $this->info('更新完毕,请重新启动队列服务。'); + \Artisan::call('horizon:terminate'); + $this->info('更新完毕,队列服务已重启,你无需进行任何操作。'); } }