mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 01:54:12 +00:00
Merge 86624facdccea4cb8acaa064083d6381327f781a into 9b267bb5725eca0b2b8f34682aca89f5d3fbcb5e
This commit is contained in:
commit
4f8f473630
12
acme.sh
12
acme.sh
@ -2216,7 +2216,7 @@ _send_signed_request() {
|
|||||||
_debug2 nonce "$nonce"
|
_debug2 nonce "$nonce"
|
||||||
if [ -z "$nonce" ]; then
|
if [ -z "$nonce" ]; then
|
||||||
_info "Could not get nonce, let's try again."
|
_info "Could not get nonce, let's try again."
|
||||||
_sleep 2
|
_sleep $SLEEP_TIME
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -5057,6 +5057,10 @@ $_authorizations_map"
|
|||||||
MAX_RETRY_TIMES=30
|
MAX_RETRY_TIMES=30
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$SLEEP_TIME" ]; then
|
||||||
|
SLEEP_TIME=2
|
||||||
|
fi
|
||||||
|
|
||||||
_debug "Let's check the authz status"
|
_debug "Let's check the authz status"
|
||||||
while true; do
|
while true; do
|
||||||
waittimes=$(_math "$waittimes" + 1)
|
waittimes=$(_math "$waittimes" + 1)
|
||||||
@ -5116,8 +5120,8 @@ $_authorizations_map"
|
|||||||
_on_issue_err "$_post_hook" "$vlist"
|
_on_issue_err "$_post_hook" "$vlist"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_debug "Sleep 2 seconds before verifying again"
|
_debug "Sleep $SLEEP_TIME seconds before verifying again"
|
||||||
_sleep 2
|
_sleep $SLEEP_TIME
|
||||||
_debug "Checking"
|
_debug "Checking"
|
||||||
|
|
||||||
_send_signed_request "$_authz_url"
|
_send_signed_request "$_authz_url"
|
||||||
@ -5191,7 +5195,7 @@ $_authorizations_map"
|
|||||||
_info "Sleeping for $_retryafter seconds then retrying"
|
_info "Sleeping for $_retryafter seconds then retrying"
|
||||||
_sleep $_retryafter
|
_sleep $_retryafter
|
||||||
else
|
else
|
||||||
_sleep 2
|
_sleep SLEEP_TIME
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
_err "Signing error: wrong status"
|
_err "Signing error: wrong status"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user