микро фикс все сломал

This commit is contained in:
dv 2026-04-29 17:36:09 +03:00
parent 25a1e52a6b
commit b138a07563

View file

@ -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: