mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-03 14:56:42 +00:00
Fixes queue for import task
This commit is contained in:
parent
de3f18655c
commit
26adf2d974
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class Importer:
|
||||||
job.save()
|
job.save()
|
||||||
|
|
||||||
|
|
||||||
@app.task(priority="low_priority")
|
@app.task(queue="low_priority")
|
||||||
def import_data(source, job_id):
|
def import_data(source, job_id):
|
||||||
"""does the actual lookup work in a celery task"""
|
"""does the actual lookup work in a celery task"""
|
||||||
job = ImportJob.objects.get(id=job_id)
|
job = ImportJob.objects.get(id=job_id)
|
||||||
|
|
Loading…
Reference in a new issue