This commit is contained in:
2021-09-02 14:23:02 +08:00
parent 6ac2cdbf53
commit fe3e947632
+1
View File
@@ -80,6 +80,7 @@ class PDO implements StopHeartbeatCheck
try {
if (env('state') == 'exit') {
echo 'timer end.' . PHP_EOL;
$this->stopHeartbeatCheck();
}
if (time() - $this->_last > 10 * 60) {
$this->stopHeartbeatCheck();