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 */