manager: rate limit dbus errors
If there is a misconfiguration between sysfs and led-manager,
the manager will be very spammy about dbus errors at it tries
to update the sysfs value. Rate limit this to once per hour
per LED.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2896377ff64318159ca3963d09c2ab5bf7452862
diff --git a/manager/lamptest/lamptest.hpp b/manager/lamptest/lamptest.hpp
index ce7bae1..577e6a1 100644
--- a/manager/lamptest/lamptest.hpp
+++ b/manager/lamptest/lamptest.hpp
@@ -79,7 +79,7 @@
* with the persisted lamp test indicator file so that there is no sign of
* lamptest.
*/
- static void clearLamps();
+ void clearLamps();
private:
/** @brief Timer used for LEDs lamp test period */