改进 Web 重启

This commit is contained in:
iVampireSP.com 2023-01-05 13:14:08 +08:00
parent 57e9d12b0a
commit 81a8785213
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -180,7 +180,7 @@ private function dispatchEvent($event, $message = []): void
'cluster.restart.web' => function () {
$this->info('正在重启 Web。');
exec('supervisorctl restart lae-web:*');
exec('php artisan octane:reload');
Cluster::publish('cluster.restarted.web');