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>2018-05-04 01:19:04 -0500
commit21753529f0f8a17824984bb04d6157251f6296c1 (patch)
tree1b364ec3b824c20988a10a336cbc130f4f7ca6fd
parent31e9bb21bc36edbbc55f07d789f95287a2d23392 (diff)
downloadtalos-skeleton-05-04-2018.tar.gz
talos-skeleton-05-04-2018.zip
Reduce polling interval of IPL status observer05-04-2018
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