This commit is contained in:
2021-08-17 18:55:49 +08:00
parent fe442681b7
commit 51860d34c7
+1
View File
@@ -68,6 +68,7 @@ class Redis
$this->_timer = Timer::tick(1000, function () {
try {
if (env('state') == 'exit') {
echo 'timer end.' . PHP_EOL;
$this->stopHeartbeatCheck();
}
if (time() - $this->_last > 10 * 60) {