2
0
mirror of https://opendev.org/x/pyghmi synced 2026-03-31 23:33:34 +00:00

Merge "Allows BMCs to configure the event loop timeout"

This commit is contained in:
Jenkins
2016-05-09 13:27:10 +00:00
committed by Gerrit Code Review

View File

@@ -142,6 +142,6 @@ class Bmc(serversession.IpmiServer):
traceback.print_exc()
@classmethod
def listen(cls):
def listen(cls, timeout=30):
while True:
ipmisession.Session.wait_for_rsp(30)
ipmisession.Session.wait_for_rsp(timeout)