From b661581baf41df3e7a10bbaeb2aadc00206cfe34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 6 Jul 2021 15:41:22 +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 --- System/Pool/ClientsPool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Pool/ClientsPool.php b/System/Pool/ClientsPool.php index b76d3603..37d9aafa 100644 --- a/System/Pool/ClientsPool.php +++ b/System/Pool/ClientsPool.php @@ -101,7 +101,7 @@ class ClientsPool extends Component if (!isset($num[$key])) { $num[$key] = 0; } - if (time() - $this->_times[$key] ?? time() > 300) { + if (time() - $this->_times[$key] ?? time() > 120) { $this->flush($channel, 0); } else if ($channel->length() > $min) { $this->flush($channel, $min);