openbmc / phosphor-pid-control

OpenBMC PID-based Thermal Control Daemon
Apache License 2.0
16 stars 21 forks source link

Sensors with timeout 0 are always in failsafe mode #8

Closed mgersh closed 5 years ago

mgersh commented 5 years ago

Setting a sensor's timeout to 0 is supposed to disable the timeout. But all sensors are added to the list of failsafe sensors during initialization, and timeout 0 disables the checks that would remove sensors from it as well as the checks that would add them.