Skip to content

Commit d517799

Browse files
Jenkinsopenstack-gerrit
Jenkins
authored andcommitted
Merge "Allows BMCs to configure the event loop timeout"
2 parents c634450 + f06813c commit d517799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyghmi/ipmi/bmc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ def handle_raw_request(self, request, session):
142142
traceback.print_exc()
143143

144144
@classmethod
145-
def listen(cls):
145+
def listen(cls, timeout=30):
146146
while True:
147-
ipmisession.Session.wait_for_rsp(30)
147+
ipmisession.Session.wait_for_rsp(timeout)

0 commit comments

Comments
 (0)