Fix broken result backend on old Celery
This commit is contained in:
parent
1d480f5629
commit
3c458ca9a6
|
@ -118,7 +118,7 @@ celery_task_uri = "redis://{}:{}{}".format(
|
||||||
celery = Celery(
|
celery = Celery(
|
||||||
app.name,
|
app.name,
|
||||||
broker=celery_task_uri,
|
broker=celery_task_uri,
|
||||||
result_backend=celery_task_uri,
|
backend=celery_task_uri,
|
||||||
result_extended=True,
|
result_extended=True,
|
||||||
)
|
)
|
||||||
app.config["broker_url"] = celery_task_uri
|
app.config["broker_url"] = celery_task_uri
|
||||||
|
|
|
@ -58,7 +58,7 @@ celery_task_uri = "redis://{}:{}{}".format(
|
||||||
celery = Celery(
|
celery = Celery(
|
||||||
"pvcworkerd",
|
"pvcworkerd",
|
||||||
broker=celery_task_uri,
|
broker=celery_task_uri,
|
||||||
result_backend=celery_task_uri,
|
backend=celery_task_uri,
|
||||||
result_extended=True,
|
result_extended=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue