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