mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 12:41:43 +08:00
[autoscaler] Timeout ssh master connection after 5 minutes
This commit is contained in:
@@ -31,7 +31,7 @@ def get_default_ssh_options(private_key, connect_timeout):
|
||||
("StrictHostKeyChecking", "no"),
|
||||
("ControlMaster", "auto"),
|
||||
("ControlPath", "{}/%C".format(SSH_CONTROL_PATH)),
|
||||
("ControlPersist", "yes"),
|
||||
("ControlPersist", "5m"),
|
||||
]
|
||||
|
||||
return ["-i", private_key] + [
|
||||
|
||||
Reference in New Issue
Block a user