микро фикс все сломал
This commit is contained in:
parent
25a1e52a6b
commit
b138a07563
1 changed files with 2 additions and 1 deletions
|
|
@ -179,8 +179,9 @@ async def ssh_run_multi(
|
||||||
_log_attempt(i, len(options), host, opt)
|
_log_attempt(i, len(options), host, opt)
|
||||||
try:
|
try:
|
||||||
connect_kwargs = _build_connect_kwargs(host, port, opt)
|
connect_kwargs = _build_connect_kwargs(host, port, opt)
|
||||||
|
connect_kwargs["connect_timeout"] = SSH_CONNECT_TIMEOUT
|
||||||
conn = await asyncio.wait_for(
|
conn = await asyncio.wait_for(
|
||||||
_connect_with_sock_compat(**connect_kwargs, connect_timeout=SSH_CONNECT_TIMEOUT),
|
_connect_with_sock_compat(**connect_kwargs),
|
||||||
timeout=SSH_CONNECT_TIMEOUT,
|
timeout=SSH_CONNECT_TIMEOUT,
|
||||||
)
|
)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue