summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-05-04 01:19:04 -0500
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-04-19 10:28:12 +0000
commitc99efec307b5b5b35f5519dc6d15d395ca6f5bf0 (patch)
treeb8772539cde4131465e0311e72850a8bbd3b6426
parentd9b27fb003694229a71818b5eb6eb687a4e370bb (diff)
downloadblackbird-skeleton-c99efec307b5b5b35f5519dc6d15d395ca6f5bf0.tar.gz
blackbird-skeleton-c99efec307b5b5b35f5519dc6d15d395ca6f5bf0.zip
Reduce polling interval of IPL status observer
This fixes high CPU use on the BMC due to an unneccessarily high IPL status polling rate
-rwxr-xr-xpyiplobserver/ipl_status_observer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyiplobserver/ipl_status_observer.py b/pyiplobserver/ipl_status_observer.py
index 095a3e7..96678fc 100755
--- a/pyiplobserver/ipl_status_observer.py
+++ b/pyiplobserver/ipl_status_observer.py
@@ -97,7 +97,7 @@ class IPLStatus(DbusProperties, DbusObjectManager):
signal_name="PropertiesChanged",
path=u'/xyz/openbmc_project/state/host0')
- gobject.timeout_add(1, self.readIPLStatus)
+ gobject.timeout_add(50, self.readIPLStatus)
print "IPLStatus Init Done"
OpenPOWER on IntegriCloud