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