This commit is contained in:
2021-08-19 16:15:28 +08:00
parent fb453f674d
commit 99b4aee754
5 changed files with 35 additions and 36 deletions
+2 -2
View File
@@ -60,9 +60,9 @@ class Zookeeper extends CustomProcess
*/
public function loop()
{
if ($this->isExit()) {
Timer::clear($this->_timer);
if ($this->checkProcessIsStop()) {
$this->exit();
Timer::clear($this->_timer);
return;
}
$redis = Kiri::app()->getRedis();