Skip to content
Snippets Groups Projects
Unverified Commit e7a6c3cd authored by Dmitrii Misharov's avatar Dmitrii Misharov Committed by GitHub
Browse files

Merge pull request #7 from wingcon/changed_timeout

changed ssh connect timeout since openstack is not fast everywhere
parents 3f80641a 34746c68
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ def check_ssh(ip: str) -> None:
pkey = paramiko.rsakey.RSASHA256Key.from_private_key_file(env.PRIVATE_KEY_PATH)
ssh_client.set_missing_host_key_policy(paramiko.client.AutoAddPolicy())
@retry(reraise=True, stop=stop_after_attempt(3), wait=wait_fixed(10))
@retry(reraise=True, stop=stop_after_attempt(10), wait=wait_fixed(10))
def connect():
ssh_client.connect(
hostname=ip,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment