From f015662fd6e3744fa03d41e135a36fae3d48fabf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 13 Jan 2022 18:52:42 +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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RpcJsonp.php b/RpcJsonp.php index 2af755c..5349617 100644 --- a/RpcJsonp.php +++ b/RpcJsonp.php @@ -94,8 +94,12 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa return; } $async_time = (int)Config::get('consul.async_time', 1000); + var_dump($async_time); Timer::tick($async_time, static function ($timeId) { if (env('state', 'start') == 'exit') { + + var_dump('clear'); + Timer::clear($timeId); return; }