From 4b3583358bea96016059ea22a45e78265ffc2c4f Mon Sep 17 00:00:00 2001 From: simon987 Date: Thu, 9 Dec 2021 19:44:21 -0500 Subject: [PATCH] Update retry codes --- hexlib/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hexlib/web.py b/hexlib/web.py index 38545f5..0b2a8b1 100644 --- a/hexlib/web.py +++ b/hexlib/web.py @@ -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: