File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2235,9 +2235,13 @@ _send_signed_request() {
22352235 if [ -z " $_sleep_overload_retry_sec " ]; then
22362236 _sleep_overload_retry_sec=5
22372237 fi
2238- _info " It seems the CA server is currently overloaded, let's wait and retry. Sleeping $_sleep_overload_retry_sec seconds."
2239- _sleep $_sleep_overload_retry_sec
2240- continue
2238+ if [ $_sleep_overload_retry_sec -le 600 ]; then
2239+ _info " It seems the CA server is currently overloaded, let's wait and retry. Sleeping $_sleep_overload_retry_sec seconds."
2240+ _sleep $_sleep_overload_retry_sec
2241+ continue
2242+ else
2243+ _info " The retryafter=$_retryafter is too large > 600, not retry anymore."
2244+ fi
22412245 fi
22422246 if _contains " $_body " " JWS has invalid anti-replay nonce" || _contains " $_body " " JWS has an invalid anti-replay nonce" ; then
22432247 _info " It seems the CA server is busy now, let's wait and retry. Sleeping $_sleep_retry_sec seconds."
You can’t perform that action at this time.
0 commit comments