Skip to content
Myr

Use the correct Celery result backend setting

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sanderl-mediamonks · committed by Adrian · parent f193f59 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/celery.rst+1 added-1 removed
34 unmodified lines
3536 from celery import Celery3738 def make_celery(app):39 celery = Celery(app.import_name, backend=app.config['CELERY_BACKEND'],39 celery = Celery(app.import_name, backend=app.config['CELERY_RESULT_BACKEND'],40 broker=app.config['CELERY_BROKER_URL'])41 celery.conf.update(app.config)42 TaskBase = celery.Task43 class ContextTask(TaskBase):
50 unmodified lines