From 074620f70e1ef1d98c465135aa5af1495a0a24c7 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sat, 25 Nov 2023 12:59:38 -0800 Subject: [PATCH] Support custom timeout --- scripts/curl-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/curl-wrapper.sh b/scripts/curl-wrapper.sh index 0ef6809..e24d1fb 100755 --- a/scripts/curl-wrapper.sh +++ b/scripts/curl-wrapper.sh @@ -1,3 +1,3 @@ #!/bin/sh # a curl wrapper for seirdy.one -curl --proto "=https" --tlsv1.3 --cert-status -sS -m10 "$@" +curl --proto "=https" --tlsv1.3 --cert-status -sS -m${SEIRDYONE_CURL_TIMEOUT-10} "$@"