Skip to content

Commit

Permalink
Rename OCR task
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Jan 29, 2024
1 parent 2e1793e commit b347506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readux_ingest_ecds/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b347506

Please sign in to comment.