From ee492d97adc121cf4390b59400f1c424958c1637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 13 Jan 2022 18:57:53 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- RpcJsonp.php | 3 --- RpcManager.php | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/RpcJsonp.php b/RpcJsonp.php index 29f3470..2af755c 100644 --- a/RpcJsonp.php +++ b/RpcJsonp.php @@ -96,9 +96,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa $async_time = (int)Config::get('consul.async_time', 1000); Timer::tick($async_time, static function ($timeId) { if (env('state', 'start') == 'exit') { - - var_dump('clear'); - Timer::clear($timeId); return; } diff --git a/RpcManager.php b/RpcManager.php index 0e012b0..a05d05e 100644 --- a/RpcManager.php +++ b/RpcManager.php @@ -58,6 +58,7 @@ class RpcManager extends Component $service = Kiri::getDi()->get(Agent::class); $info = $service->service->service_health($config['config']['ID']); + var_dump($info); if ($info->getStatusCode() == 200) { return; }