Skip to content

Commit

Permalink
*: fix slow score config (#6540)
Browse files Browse the repository at this point in the history
ref #5916

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
rleungx and ti-chi-bot[bot] authored Jun 2, 2023
1 parent 672f4dc commit 7b1893d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ func (c *ScheduleConfig) adjust(meta *configutil.ConfigMetaData, reloading bool)
configutil.AdjustUint64(&c.HotRegionsReservedDays, defaultHotRegionsReservedDays)
}

if !meta.IsDefined("SlowStoreEvictingAffectedStoreRatioThreshold") {
if !meta.IsDefined("slow-store-evicting-affected-store-ratio-threshold") {
configutil.AdjustFloat64(&c.SlowStoreEvictingAffectedStoreRatioThreshold, defaultSlowStoreEvictingAffectedStoreRatioThreshold)
}
return c.Validate()
Expand Down

0 comments on commit 7b1893d

Please sign in to comment.