From d3dacf96df2aec1252eb4ab25ecacfd9fc2d2ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 24 Aug 2023 12:11:23 +0800 Subject: [PATCH] qqq --- Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connection.php b/Connection.php index 9bc2f24..1d9a508 100644 --- a/Connection.php +++ b/Connection.php @@ -160,7 +160,7 @@ class Connection extends Component } [$client, $time] = $data; - if ((time() - $time) < $this->timeout && $this->canUse($client)) { + if ((time() - $time) < $this->idle_time && $this->canUse($client)) { return $client; }