Update retry codes

This commit is contained in:
simon987 2021-12-09 19:44:21 -05:00
parent 90d434ec73
commit 4b3583358b

View File

@ -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: