#2381 modify taskDispatchPeriod defalue value

This commit is contained in:
zhixiang.yuan 2020-02-22 19:37:26 +08:00
parent aa141e0aac
commit c2743f90eb

View File

@ -27,8 +27,8 @@ import org.springframework.stereotype.Component;
@Component @Component
public class GlobalConfig { public class GlobalConfig {
@Value("${nacos.naming.distro.taskDispatchPeriod:200}") @Value("${nacos.naming.distro.taskDispatchPeriod:2000}")
private int taskDispatchPeriod = 200; private int taskDispatchPeriod = 2000;
@Value("${nacos.naming.distro.batchSyncKeyCount:1000}") @Value("${nacos.naming.distro.batchSyncKeyCount:1000}")
private int batchSyncKeyCount = 1000; private int batchSyncKeyCount = 1000;