From 99ff8b1ed5da6d75f485a82c7cc2631c8382cafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 29 Aug 2023 21:35:57 +0800 Subject: [PATCH] eee --- Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connection.php b/Connection.php index 4099899..7e384ea 100644 --- a/Connection.php +++ b/Connection.php @@ -206,7 +206,7 @@ class Connection extends Component } [$client, $time] = $data; - if ((time() - $time) < $this->idle_time) { + if ((time() - $time) < $this->idle_time && $this->canUse($client)) { return $client; }