改进 命令处理
This commit is contained in:
parent
3f49a92e28
commit
fa41bf5da3
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user