This commit is contained in:
2021-04-23 12:25:21 +08:00
parent 6332e9e251
commit 0376fbd7c7
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ class Zookeeper extends Process
*/
public function onHandler(\Swoole\Process $process): void
{
$ticker = Config::get('crontab.ticker', 50) / 1000;
$ticker = Config::get('crontab.ticker', 100) / 1000;
$redis = Snowflake::app()->getRedis();
while (true) {
$range = $this->loadCarobTask($redis);