2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-27 19:37:44 +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
commit d517799899

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)