Skip to content

Commit

Permalink
add 500 to retry list
Browse files Browse the repository at this point in the history
openEO on cdse also throws 500, job manager should not immediately give up, but continue with retrying
#624
  • Loading branch information
jdries authored and soxofaan committed Sep 23, 2024
1 parent 21922f1 commit 0c2fdc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openeo/extra/job_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def _make_resilient(connection):
504 Gateway Timeout
"""
# TODO: refactor this helper out of this class and unify with `openeo_driver.util.http.requests_with_retry`
status_forcelist = [502, 503, 504]
status_forcelist = [500, 502, 503, 504]
retries = Retry(
total=MAX_RETRIES,
read=MAX_RETRIES,
Expand Down

0 comments on commit 0c2fdc1

Please sign in to comment.