From 77b61c8fc0ccc695bce2d6371d2b8fe3e246580b Mon Sep 17 00:00:00 2001 From: nervuri Date: Fri, 4 Jun 2021 11:23:18 +0000 Subject: [PATCH] increased timeouts --- get-certs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-certs.sh b/get-certs.sh index 49740e6..80dd8f8 100755 --- a/get-certs.sh +++ b/get-certs.sh @@ -81,7 +81,7 @@ while read -r host; do fi # Get cert. - cert=$(fetch_cert "$host_and_port" 'timeout 5') + cert=$(fetch_cert "$host_and_port" 'timeout 10') if [ -z "$cert" ]; then >&2 echo "$host_and_port - connection failed" @@ -97,7 +97,7 @@ while read -r host; do exit 1 fi - cert_via_tor=$(fetch_cert "$host_and_port" 'timeout 15' 'torsocks') + cert_via_tor=$(fetch_cert "$host_and_port" 'timeout 25' 'torsocks') if [ -z "$cert_via_tor" ]; then >&2 echo "$host_and_port - Tor connection failed"