Skip to content

Commit

Permalink
Merge pull request #249 from nivekuil/nivekuil-patch-1
Browse files Browse the repository at this point in the history
Raise default MaxRpmDiffForSettledFan
  • Loading branch information
markusressel committed Aug 13, 2023
2 parents 524dbfe + 6ab50ab commit 7c86ff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fan2go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runFanInitializationInParallel: false
# consider a fan speed "settled"
# Note: This parameter is only used for initial analysis of fan curve
# and has no effect during normal operation
maxRpmDiffForSettledFan: 10
maxRpmDiffForSettledFan: 20
# The time in seconds to wait before checking that a fan has responded to a control change
# Note: This parameter is only used for initial analysis of fan curve
# and has no effect during normal operation
Expand Down
2 changes: 1 addition & 1 deletion internal/configuration/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func InitConfig(cfgFile string) {
func setDefaultValues() {
viper.SetDefault("dbpath", "/etc/fan2go/fan2go.db")
viper.SetDefault("RunFanInitializationInParallel", true)
viper.SetDefault("MaxRpmDiffForSettledFan", 10.0)
viper.SetDefault("MaxRpmDiffForSettledFan", 20.0)
viper.SetDefault("FanResponseDelay", 2)
viper.SetDefault("TempSensorPollingRate", 200*time.Millisecond)
viper.SetDefault("TempRollingWindowSize", 10)
Expand Down

0 comments on commit 7c86ff0

Please sign in to comment.