This commit is contained in:
as2252258@163.com
2021-07-26 02:58:45 +08:00
parent 2e4e79cef2
commit b8f8d9162c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class ServerManager extends Server
*/
public function onManagerStart(\Swoole\Server $server)
{
$this->setProcessName(sprintf('manger[%d].0', $server->worker_pid));
$this->setProcessName(sprintf('manger[%d].0', $server->manager_pid));
$this->runEvent(Constant::MANAGER_START, null, [$server]);
}