diff options
| author | James Feist <james.feist@linux.intel.com> | 2019-02-25 13:00:16 -0800 |
|---|---|---|
| committer | James Feist <james.feist@linux.intel.com> | 2019-02-25 13:00:16 -0800 |
| commit | 2642cb54945d1500992559fc55241b48afce3551 (patch) | |
| tree | b2a8d88bf855ec11b000793b5468901d1cc84d18 | |
| parent | 473d68db2adb7a15061cfb4b4f91248bd98721a1 (diff) | |
| download | phosphor-pid-control-2642cb54945d1500992559fc55241b48afce3551.tar.gz phosphor-pid-control-2642cb54945d1500992559fc55241b48afce3551.zip | |
dbusconfiguration: set timeout to 0
Setting this value to zero so we can limit d-bus
traffic and not send updates unless there is one.
Tested-by: fan control worked normally after
Change-Id: Ie8bd7fbfd86c1643ea5bf76cf49a087923db0ccf
Signed-off-by: James Feist <james.feist@linux.intel.com>
| -rw-r--r-- | dbus/dbusconfiguration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbusconfiguration.cpp b/dbus/dbusconfiguration.cpp index 5fceaa9..7cb09fb 100644 --- a/dbus/dbusconfiguration.cpp +++ b/dbus/dbusconfiguration.cpp @@ -364,7 +364,7 @@ void init(sdbusplus::bus::bus& bus) // timeouts with sensors if (config.type == "temp") { - config.timeout = 500; + config.timeout = 0; } } else if (sensorPathIfacePair.second == pwmInterface) @@ -491,7 +491,7 @@ void init(sdbusplus::bus::bus& bus) // todo: maybe un-hardcode this if we run into slower // timeouts with sensors - config.timeout = 500; + config.timeout = 0; sensorFound = true; } } |

