Configure 10 second timeout to ACME_DIRECTORY API call

This commit is contained in:
Erwin Oegema authored and GitHub committed 2025-06-10 10:36:06 +02:00
1 parent 3d8b682380
commit f2b248243c
1 file changed
+1 -1
+1 -1
View File
@@ -2761,7 +2761,7 @@ _initAPI() {
_request_retry_times=0
while [ -z "$ACME_NEW_ACCOUNT" ] && [ "${_request_retry_times}" -lt "$MAX_API_RETRY_TIMES" ]; do
_request_retry_times=$(_math "$_request_retry_times" + 1)
response=$(_get "$_api_server")
response=$(_get "$_api_server" "" 10)
if [ "$?" != "0" ]; then
_debug2 "response" "$response"
_info "Cannot init API for: $_api_server."
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.