Skip to content

Commit

Permalink
Add max retries setting above 0
Browse files Browse the repository at this point in the history
  • Loading branch information
lwrubel committed Jun 24, 2024
1 parent 79cf3e1 commit bcd803e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rialto_airflow/harvest/openalex.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from rialto_airflow.utils import invert_dict

config.email = os.environ.get("AIRFLOW_VAR_OPENALEX_EMAIL")
config.max_retries = 0
config.max_retries = 5
config.retry_backoff_factor = 0.1
config.retry_http_codes = [429, 500, 503]

Expand Down

0 comments on commit bcd803e

Please sign in to comment.