Increase max_tries to 31
Allows more time for slow Redfish implementations to get ready
This commit is contained in:
parent
a37b4ce456
commit
171ac11021
|
@ -86,7 +86,7 @@ class RedfishSession:
|
||||||
login_response = None
|
login_response = None
|
||||||
|
|
||||||
tries = 1
|
tries = 1
|
||||||
max_tries = 25
|
max_tries = 31
|
||||||
while tries < max_tries:
|
while tries < max_tries:
|
||||||
logger.info(f"Trying to log in to Redfish ({tries}/{max_tries - 1})...")
|
logger.info(f"Trying to log in to Redfish ({tries}/{max_tries - 1})...")
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue