This commit is contained in:
2023-08-16 14:25:48 +08:00
parent be09229577
commit a264b2b8a3
-1
View File
@@ -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();