mirror of
https://github.com/talent-plan/tinykv.git
synced 2025-01-13 22:00:07 +08:00
fix(kv/config): set SchedulerHeartbeatTickInterval to ten seconds (#394)
Co-authored-by: Connor <zbk602423539@gmail.com>
This commit is contained in:
parent
a18721123f
commit
dae8650e3b
@ -82,7 +82,7 @@ func NewDefaultConfig() *Config {
|
|||||||
// Assume the average size of entries is 1k.
|
// Assume the average size of entries is 1k.
|
||||||
RaftLogGcCountLimit: 128000,
|
RaftLogGcCountLimit: 128000,
|
||||||
SplitRegionCheckTickInterval: 10 * time.Second,
|
SplitRegionCheckTickInterval: 10 * time.Second,
|
||||||
SchedulerHeartbeatTickInterval: 100 * time.Millisecond,
|
SchedulerHeartbeatTickInterval: 10 * time.Second,
|
||||||
SchedulerStoreHeartbeatTickInterval: 10 * time.Second,
|
SchedulerStoreHeartbeatTickInterval: 10 * time.Second,
|
||||||
RegionMaxSize: 144 * MB,
|
RegionMaxSize: 144 * MB,
|
||||||
RegionSplitSize: 96 * MB,
|
RegionSplitSize: 96 * MB,
|
||||||
|
Loading…
Reference in New Issue
Block a user