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:
commit
d517799899
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user