From fa41bf5da35a4cfc50e95c476c4b9690a094ca8a Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Thu, 5 Jan 2023 13:24:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/Cluster/Work.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Cluster/Work.php b/app/Console/Commands/Cluster/Work.php index e76b4c6..6001347 100644 --- a/app/Console/Commands/Cluster/Work.php +++ b/app/Console/Commands/Cluster/Work.php @@ -164,7 +164,7 @@ private function dispatchEvent($event, $message = []): void 'cluster.restart.web' => function () { $this->info('正在重启 Web。'); - $this->pipeCommand('php artisan octane:reload'); + exec('php artisan octane:reload'); Cluster::publish('cluster.restarted.web');