From dae8650e3be3e7251f2d6c7cb0960a2f2ec46209 Mon Sep 17 00:00:00 2001 From: Moonm3n <40347749+Moonm3n@users.noreply.github.com> Date: Thu, 30 Jun 2022 14:56:54 +0800 Subject: [PATCH] fix(kv/config): set SchedulerHeartbeatTickInterval to ten seconds (#394) Co-authored-by: Connor --- kv/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kv/config/config.go b/kv/config/config.go index 9396db73..676cdb82 100644 --- a/kv/config/config.go +++ b/kv/config/config.go @@ -82,7 +82,7 @@ func NewDefaultConfig() *Config { // Assume the average size of entries is 1k. RaftLogGcCountLimit: 128000, SplitRegionCheckTickInterval: 10 * time.Second, - SchedulerHeartbeatTickInterval: 100 * time.Millisecond, + SchedulerHeartbeatTickInterval: 10 * time.Second, SchedulerStoreHeartbeatTickInterval: 10 * time.Second, RegionMaxSize: 144 * MB, RegionSplitSize: 96 * MB,