fix(ssh): increase connection timeout #482
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
see coop-cloud/organising#482
This commit is contained in:
parent
6e54ec7213
commit
0d83339d80
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue