改进 命令处理

This commit is contained in:
iVampireSP.com 2023-01-05 13:24:49 +08:00
parent 3f49a92e28
commit fa41bf5da3
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -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');