From 14507e8b013603e7da42ac76f5922e76022b21fc Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 12 Jun 2023 16:36:03 +0800 Subject: [PATCH] qqq --- Abstracts/AsyncServer.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Abstracts/AsyncServer.php b/Abstracts/AsyncServer.php index 81bba6b..7a123fe 100644 --- a/Abstracts/AsyncServer.php +++ b/Abstracts/AsyncServer.php @@ -44,7 +44,6 @@ class AsyncServer implements ServerInterface public function initCoreServers(array $service, int $daemon = 0): void { $this->listener($service, $daemon); - $this->initRpcListen(); $this->initProcess(); $this->onSignal(); } @@ -68,19 +67,6 @@ class AsyncServer implements ServerInterface } } - - /** - * @return void - * @throws Exception - */ - private function initRpcListen(): void - { - $rpcService = \config('rpc', []); - if (!empty($rpcService)) { - $this->addListener(instance(SConfig::class, [], $rpcService)); - } - } - /** * @return void */