Fix broken result backend on old Celery

This commit is contained in:
Joshua Boniface 2024-01-09 12:06:23 -05:00
parent 1d480f5629
commit 3c458ca9a6
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ celery_task_uri = "redis://{}:{}{}".format(
celery = Celery(
app.name,
broker=celery_task_uri,
result_backend=celery_task_uri,
backend=celery_task_uri,
result_extended=True,
)
app.config["broker_url"] = celery_task_uri

View File

@ -58,7 +58,7 @@ celery_task_uri = "redis://{}:{}{}".format(
celery = Celery(
"pvcworkerd",
broker=celery_task_uri,
result_backend=celery_task_uri,
backend=celery_task_uri,
result_extended=True,
)