mirror of
https://github.com/rclone/rclone.git
synced 2025-11-29 05:47:23 +02:00
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:
committed by
Nick Craig-Wood
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 {
|
||||
|
||||
Reference in New Issue
Block a user