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