mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-26 21:33:25 +00:00
Increase number of retries from 10 to 20. (#949)
This commit is contained in:
3
changelogs/fragments/949-acme-retry.yml
Normal file
3
changelogs/fragments/949-acme-retry.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
bugfixes:
|
||||||
|
- "acme_* modules - increase the maximum amount of retries from 10 to 20 to accomodate ZeroSSL's buggy implementation
|
||||||
|
(https://github.com/ansible-collections/community.crypto/pull/949)."
|
||||||
@@ -66,7 +66,7 @@ if t.TYPE_CHECKING:
|
|||||||
# -1 usually means connection problems
|
# -1 usually means connection problems
|
||||||
RETRY_STATUS_CODES = (-1, 408, 429, 502, 503, 504)
|
RETRY_STATUS_CODES = (-1, 408, 429, 502, 503, 504)
|
||||||
|
|
||||||
RETRY_COUNT = 10
|
RETRY_COUNT = 20
|
||||||
|
|
||||||
|
|
||||||
def _decode_retry(
|
def _decode_retry(
|
||||||
|
|||||||
Reference in New Issue
Block a user