Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-14 15:52:38 +08:00
parent c5b4f4795b
commit c735776e58
3 changed files with 12 additions and 8 deletions
-2
View File
@@ -114,8 +114,6 @@ class PDO implements StopHeartbeatCheck
if (time() - $this->_last > (int)Config::get('databases.pool.tick', 60)) {
$this->stopHeartbeatCheck();
$this->eventProvider->off(OnWorkerExit::class, [$this, 'stopHeartbeatCheck']);
$this->pdo = null;
}
} catch (\Throwable $throwable) {