curl: Add retries
Change default 0 retries to 5, that should help for transient errors (timeouts, HTTP 408, 429, 500, 502, 503 or 504). Change-Id: Iad3c7270579ffb38299269481ac64d5582abaa22
This commit is contained in:
parent
8dc0928581
commit
fd14318a8b
@ -1,6 +1,7 @@
|
||||
# curl default options
|
||||
--fail
|
||||
--location
|
||||
--retry 5
|
||||
--silent
|
||||
--show-error
|
||||
--write-out "curl (%{url_effective}): response: %{http_code}, time: %{time_total}, size: %{size_download}\n"
|
||||
|
4
releasenotes/notes/curl-retries-e1c5d6b5b25d7380.yaml
Normal file
4
releasenotes/notes/curl-retries-e1c5d6b5b25d7380.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
other:
|
||||
- |
|
||||
Added '--retry 5' to curlrc to improve curl downloads during image builds.
|
Loading…
Reference in New Issue
Block a user