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; }