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>
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 @@
// timeouts with sensors
if (config.type == "temp")
{
- config.timeout = 500;
+ config.timeout = 0;
}
}
else if (sensorPathIfacePair.second == pwmInterface)
@@ -491,7 +491,7 @@
// todo: maybe un-hardcode this if we run into slower
// timeouts with sensors
- config.timeout = 500;
+ config.timeout = 0;
sensorFound = true;
}
}