From b347506420c2a1b414a5e2395fea5169a402c779 Mon Sep 17 00:00:00 2001 From: Jay Varner Date: Mon, 29 Jan 2024 15:25:51 -0500 Subject: [PATCH] Rename OCR task --- readux_ingest_ecds/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readux_ingest_ecds/tasks.py b/readux_ingest_ecds/tasks.py index 14bffcd..d991d1e 100644 --- a/readux_ingest_ecds/tasks.py +++ b/readux_ingest_ecds/tasks.py @@ -36,7 +36,7 @@ def local_ingest_task_ecds(ingest_id): add_ocr_task(local_ingest.manifest.pk) -@app.task(name='adding_ocr_to_canvas', autoretry_for=(Manifest.DoesNotExist,), retry_backoff=5) +@app.task(name='ingest_ocr_to_canvas', autoretry_for=(Manifest.DoesNotExist,), retry_backoff=5) def add_ocr_task(manifest_id, *args, **kwargs): """Function for parsing and adding OCR.""" manifest = Manifest.objects.get(pk=manifest_id)