2
0
mirror of https://opendev.org/x/pyghmi synced 2026-06-15 08:10:46 +00:00

Extend timeout for firmware inventory

An XCC3 in some cases may take over a minute
to provide full firmware inventory.

Change-Id: I4507f5f5c4cec9aebd532c96a3f4c1be437b4a03
This commit is contained in:
Jarrod Johnson
2026-04-22 15:24:56 -04:00
parent 3abd5b98ce
commit 244ef8d791
+3
View File
@@ -1152,7 +1152,10 @@ class OEMHandler(generic.OEMHandler):
pendingscm = None
if pendinghpm == '*':
pendinghpm = None
oldtimeout = fishclient.wc.mytimeout
fishclient.wc.mytimeout = 120
fwlist = fishclient._do_web_request(fishclient._fwinventory + '?$expand=.')
fishclient.wc.mytimeout = oldtimeout
fwlist = copy.deepcopy(fwlist.get('Members', []))
self._fwnamemap = {}
for redres in fwlist: