Skip to content

Commit

Permalink
increase max_login_tries from 5 to 15 and increase the sleep interval…
Browse files Browse the repository at this point in the history
… from 1 to 1.5 sec (#2279)
  • Loading branch information
chesterxgchen authored Jan 12, 2024
1 parent a9c50f1 commit 6bd1ed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvflare/fuel/hci/client/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
_CMD_TYPE_SERVER = 2

MAX_AUTO_LOGIN_TRIES = 300
AUTO_LOGIN_INTERVAL = 1.0
AUTO_LOGIN_INTERVAL = 1.5


class ResultKey(object):
Expand Down Expand Up @@ -313,7 +313,7 @@ def __init__(
session_timeout_interval=None,
session_status_check_interval=None,
auto_login_delay: int = 5,
auto_login_max_tries: int = 5,
auto_login_max_tries: int = 15,
event_handlers=None,
):
"""API to keep certs, keys and connection information and to execute admin commands through do_command.
Expand Down

0 comments on commit 6bd1ed5

Please sign in to comment.