Merge pull request #2381 from zhixiangyuan/develop_1.2.0

统一 taskDispatchPeriod 的默认值
This commit is contained in:
liaochuntao 2020-02-23 12:01:29 +08:00 committed by GitHub
commit 701cbbf1d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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