From d34be30b7bfdd86bca10660beeba874fa5b3c428 Mon Sep 17 00:00:00 2001 From: Dustin Lo Date: Tue, 18 Jul 2023 13:18:11 -0700 Subject: [PATCH] using job-status_current alias in retry.py (#29) --- retry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retry.py b/retry.py index ab19f0e..71969d5 100644 --- a/retry.py +++ b/retry.py @@ -35,7 +35,7 @@ def query_es(job_id): } } } - return mozart_es.search(index=STATUS_ALIAS, body=query_json) + return mozart_es.search(index="job_status-current", body=query_json) @backoff.on_exception(backoff.expo, Exception, max_tries=10, max_value=64)