diff --git a/conf/config.toml b/conf/config.toml index 3b3289eb61c..ae2b4122cf4 100644 --- a/conf/config.toml +++ b/conf/config.toml @@ -67,6 +67,7 @@ leader-schedule-limit = 4 region-schedule-limit = 64 replica-schedule-limit = 64 merge-schedule-limit = 8 +hot-region-schedule-limit = 4 #tolerant-size-ratio = 0.0 #enable-one-way-merge = false diff --git a/pkg/mock/mockoption/mockoption.go b/pkg/mock/mockoption/mockoption.go index cd55f712ade..df2baf560dd 100644 --- a/pkg/mock/mockoption/mockoption.go +++ b/pkg/mock/mockoption/mockoption.go @@ -28,10 +28,10 @@ const ( defaultSplitMergeInterval = 0 defaultMaxStoreDownTime = 30 * time.Minute defaultLeaderScheduleLimit = 4 - defaultRegionScheduleLimit = 4 - defaultReplicaScheduleLimit = 8 + defaultRegionScheduleLimit = 64 + defaultReplicaScheduleLimit = 64 defaultMergeScheduleLimit = 8 - defaultHotRegionScheduleLimit = 2 + defaultHotRegionScheduleLimit = 4 defaultStoreBalanceRate = 60 defaultTolerantSizeRatio = 2.5 defaultLowSpaceRatio = 0.8 diff --git a/server/config.go b/server/config.go index 3eb800042e8..5e53c43f7b3 100644 --- a/server/config.go +++ b/server/config.go @@ -576,11 +576,11 @@ const ( defaultSplitMergeInterval = 1 * time.Hour defaultPatrolRegionInterval = 100 * time.Millisecond defaultMaxStoreDownTime = 30 * time.Minute - defaultLeaderScheduleLimit = 8 + defaultLeaderScheduleLimit = 4 defaultRegionScheduleLimit = 64 defaultReplicaScheduleLimit = 64 defaultMergeScheduleLimit = 8 - defaultHotRegionScheduleLimit = 2 + defaultHotRegionScheduleLimit = 4 defaultStoreBalanceRate = 15 defaultTolerantSizeRatio = 0 defaultLowSpaceRatio = 0.8