1
0
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:
Andrew Ruthven
2025-10-04 01:54:26 +00:00
committed by Nick Craig-Wood
parent 04e91838db
commit b249d384b9

View File

@@ -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 {