qqq
This commit is contained in:
@@ -155,7 +155,6 @@ class Connection extends Component
|
||||
if (!$this->pool()->hasItem($this->cds)) {
|
||||
return $this->newConnect();
|
||||
}
|
||||
/** @var PDO $client */
|
||||
[$client, $time] = $this->pool()->get($this->cds);
|
||||
if ((time() - $time) > $this->idle_time) {
|
||||
return $this->newConnect();
|
||||
|
||||
Reference in New Issue
Block a user