From 47f1a6c4f566150c95292ab5efc153e31962332c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 23 Jun 2022 01:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Handler/OnServerManager.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Handler/OnServerManager.php b/Handler/OnServerManager.php index 6d35f6b..5c3db22 100644 --- a/Handler/OnServerManager.php +++ b/Handler/OnServerManager.php @@ -33,13 +33,12 @@ class OnServerManager extends Server /** * @param \Swoole\Server $server * @throws ConfigException - * @throws ReflectionException * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ public function onManagerStart(\Swoole\Server $server) { - Kiri::setProcessName(sprintf('manger[%d].0', $server->manager_pid)); + Kiri::setProcessName(sprintf('manger process[%d]', $server->manager_pid)); $this->dispatch->dispatch(new OnManagerStart($server)); } @@ -49,7 +48,6 @@ class OnServerManager extends Server * @param \Swoole\Server $server * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface - * @throws ReflectionException */ public function onManagerStop(\Swoole\Server $server) {