Also retry on HTTP statuses 502 and 504. (#947) (#948)

(cherry picked from commit 75413d0b08)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2025-08-02 19:04:22 +02:00
committed by GitHub
parent 1fed428d76
commit 2d70e14250
2 changed files with 5 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ else:
# -1 usually means connection problems
RETRY_STATUS_CODES = (-1, 408, 429, 503)
RETRY_STATUS_CODES = (-1, 408, 429, 502, 503, 504)
RETRY_COUNT = 10