mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-04 02:12:59 +00:00
Add 520 in default retry codes
This commit is contained in:
parent
c295b5d30b
commit
333083e8b9
@ -134,7 +134,7 @@ class Web:
|
||||
self._logger = logger
|
||||
self._current_req = None
|
||||
if retry_codes is None or not retry_codes:
|
||||
retry_codes = {502, 504, 522, 524, 429}
|
||||
retry_codes = {502, 504, 520, 522, 524, 429}
|
||||
self._retry_codes = retry_codes
|
||||
|
||||
if session is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user