mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-12 22:39:34 -05:00
Reduce the number of retries for wait-for-ocis-server
`curl` retries with exponantional backoff. 10 retries mean more than a total of 16min wait time until we fail. This seems far too long. With 7 retries we should be at a bit more than 2 minutes max, if ocis takes that long to start, something is likely broken in the infrastructure.
This commit is contained in:
+1
-1
@@ -1593,7 +1593,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
"name": "wait-for-ocis-server",
|
||||
"image": OC_CI_ALPINE,
|
||||
"commands": [
|
||||
"curl -k -u admin:admin --fail --retry-connrefused --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/admin'",
|
||||
"curl -k -u admin:admin --fail --retry-connrefused --retry 7 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/admin'",
|
||||
],
|
||||
"depends_on": depends_on,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user