This commit is contained in:
2023-08-24 14:19:47 +08:00
parent d0375388b4
commit 45968536c5
+1 -1
View File
@@ -164,7 +164,7 @@ class Connection extends Component
return $client;
}
file_put_contents('php://output', 'PDO连接已失效, 空闲超时或已不可用,重新获取.', FILE_APPEND);
$this->logger->error('PDO连接已失效, 空闲超时或已不可用,重新获取.', [$this->cds]);
$this->pool()->abandon($this->cds);
Waite::sleep(10);