This commit is contained in:
2021-08-17 18:53:51 +08:00
parent 3e256e5093
commit fe442681b7
+1 -1
View File
@@ -65,7 +65,7 @@ class Redis
return; return;
} }
if ($this->_timer === -1 && Context::inCoroutine()) { if ($this->_timer === -1 && Context::inCoroutine()) {
$this->_timer = Timer::tick(3000, function () { $this->_timer = Timer::tick(1000, function () {
try { try {
if (env('state') == 'exit') { if (env('state') == 'exit') {
$this->stopHeartbeatCheck(); $this->stopHeartbeatCheck();