This commit is contained in:
as2252258@163.com
2021-04-16 01:42:01 +08:00
parent 2f20cbaddc
commit b451925ae0
+3
View File
@@ -8,6 +8,7 @@ use Exception;
use Snowflake\Cache\Redis;
use Snowflake\Process\Process;
use Snowflake\Snowflake;
use Swoole\Coroutine;
use Throwable;
/**
@@ -37,6 +38,8 @@ class Zookeeper extends Process
$this->dispatch($server, $redis, $setting, $value);
}
$redis->release();
Coroutine::sleep(0.05);
}
}