Skip to content

Commit

Permalink
change back to 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Jan 20, 2024
1 parent bdd8db7 commit 1fa70bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/provision/provisioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _wait_ssh_connection_direct(
assert ssh_proxy_command is None, 'SSH proxy command is not supported.'
try:
success = False
with socket.create_connection((ip, ssh_port), timeout=10) as s:
with socket.create_connection((ip, ssh_port), timeout=1) as s:
if s.recv(100).startswith(b'SSH'):
# Wait for SSH being actually ready, otherwise we may get the
# following error:
Expand Down

0 comments on commit 1fa70bd

Please sign in to comment.