fix(kv/config): set SchedulerHeartbeatTickInterval to ten seconds (#394)

Co-authored-by: Connor <zbk602423539@gmail.com>
This commit is contained in:
Moonm3n 2022-06-30 14:56:54 +08:00 committed by GitHub
parent a18721123f
commit dae8650e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,