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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user