From fe3e947632d0574eab24f7064a4038e1cf438c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 2 Sep 2021 14:23:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Mysql/PDO.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mysql/PDO.php b/src/Mysql/PDO.php index 3b672b7..3825e6d 100644 --- a/src/Mysql/PDO.php +++ b/src/Mysql/PDO.php @@ -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();