From bcd803e9640d7480a24cee23de73d34a916a06d9 Mon Sep 17 00:00:00 2001 From: Laura Wrubel Date: Mon, 24 Jun 2024 17:01:04 -0400 Subject: [PATCH] Add max retries setting above 0 --- rialto_airflow/harvest/openalex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rialto_airflow/harvest/openalex.py b/rialto_airflow/harvest/openalex.py index 54ee9bc..269f3d4 100644 --- a/rialto_airflow/harvest/openalex.py +++ b/rialto_airflow/harvest/openalex.py @@ -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]