[autoscaler] Timeout ssh master connection after 5 minutes

This commit is contained in:
Eric Liang
2019-03-02 22:57:22 -08:00
committed by GitHub
parent 295099b863
commit ff6dd8459a
+1 -1
View File
@@ -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] + [