mirror of https://github.com/rclone/rclone
build: Increase attempts to connect to test server
On the system I'm testing Swift on it can take ~90 retries for SwiftAIO to be ready. Extend the retry attempts.
This commit is contained in:
parent
04e91838db
commit
b249d384b9
|
|
@ -110,7 +110,7 @@ func start(name string) error {
|
|||
return nil
|
||||
}
|
||||
// If we got a _connect value then try to connect to it
|
||||
const maxTries = 30
|
||||
const maxTries = 100
|
||||
var rdBuf = make([]byte, 1)
|
||||
for i := 1; i <= maxTries; i++ {
|
||||
if i != 0 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue