summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-10-20 10:50:38 +0200
committerSimon Rettberg2021-10-20 10:50:38 +0200
commitca5342004cc77b99eb233bf02eb6a5d66bf4c20f (patch)
tree612be2d8d80c1b89872c925ee185dee2ee63049f
parent[dnbd3-rootfs] assign return_code before printing it (diff)
downloadsystemd-init-ca5342004cc77b99eb233bf02eb6a5d66bf4c20f.tar.gz
systemd-init-ca5342004cc77b99eb233bf02eb6a5d66bf4c20f.tar.xz
systemd-init-ca5342004cc77b99eb233bf02eb6a5d66bf4c20f.zip
Use reasonable timeouts
-rwxr-xr-xbuild-initramfs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-initramfs.sh b/build-initramfs.sh
index 1c65fd7d..b00839df 100755
--- a/build-initramfs.sh
+++ b/build-initramfs.sh
@@ -195,10 +195,10 @@ handler_http() {
if ! curl \
--location \
--max-redirs 5 \
- --max-time 7 \
- --connect-timeout 2 \
+ --max-time 60 \
+ --connect-timeout 5 \
--retry 3 \
- --retry-max-time 12 \
+ --retry-max-time 120 \
"$url" \
| tar \
--extract \