From 1bb26b468018667b509b3ad783ebec447d7e3368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 24 Dec 2021 14:53:59 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RpcJsonp.php b/src/RpcJsonp.php index 85ce383..4668eed 100644 --- a/src/RpcJsonp.php +++ b/src/RpcJsonp.php @@ -95,7 +95,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa return; } $async_time = (int)Config::get('consul.async_time', 1000); - Timer::tick(5000, static function ($timeId) { + Timer::tick($async_time, static function ($timeId) { if (env('state', 'start') == 'exit') { Timer::clear($timeId); return;