From 07436f70359ceec8f8e64bf8fee5eed3ddb79f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 6 Dec 2021 17:08:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/RpcJsonp.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/RpcJsonp.php b/src/RpcJsonp.php index eb44da1..1966657 100644 --- a/src/RpcJsonp.php +++ b/src/RpcJsonp.php @@ -63,7 +63,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa scan_directory(APP_PATH . 'rpc', 'Rpc'); $this->eventProvider->on(OnWorkerStart::class, [$this, 'consulWatches']); - $this->eventProvider->on(OnTaskerStart::class, [$this, 'consulWatches']); $this->eventProvider->on(OnServerBeforeStart::class, [$this, 'register']); $this->manager = Kiri::getDi()->get(RpcManager::class);