increased timeouts

This commit is contained in:
nervuri 2021-06-04 11:23:18 +00:00
parent bdd4db2df9
commit 77b61c8fc0
Signed by: nervuri
GPG Key ID: C4769EEA7BA61672
1 changed files with 2 additions and 2 deletions

View File

@ -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"