fix(ssh): increase connection timeout #482
continuous-integration/drone/push Build is passing Details

see coop-cloud/organising#482
This commit is contained in:
Moritz 2023-11-30 16:35:24 +01:00
parent 6e54ec7213
commit 0d83339d80
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ import (
// //
// ssh://<user>@<host> URL requires Docker 18.09 or later on the remote host. // ssh://<user>@<host> URL requires Docker 18.09 or later on the remote host.
func GetConnectionHelper(daemonURL string) (*connhelper.ConnectionHelper, error) { func GetConnectionHelper(daemonURL string) (*connhelper.ConnectionHelper, error) {
return getConnectionHelper(daemonURL, []string{"-o ConnectTimeout=5"}) return getConnectionHelper(daemonURL, []string{"-o ConnectTimeout=60"})
} }
func getConnectionHelper(daemonURL string, sshFlags []string) (*connhelper.ConnectionHelper, error) { func getConnectionHelper(daemonURL string, sshFlags []string) (*connhelper.ConnectionHelper, error) {