mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-19 06:36:35 +00:00
Merge pull request #1208 from cincodenada/fix-import-page
Add backend parameter to Celery initializer
This commit is contained in:
commit
2e9ac1bf27
1 changed files with 1 additions and 2 deletions
|
@ -7,6 +7,5 @@ from bookwyrm import settings
|
|||
# set the default Django settings module for the 'celery' program.
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "celerywyrm.settings")
|
||||
app = Celery(
|
||||
"tasks",
|
||||
broker=settings.CELERY_BROKER,
|
||||
"tasks", broker=settings.CELERY_BROKER, backend=settings.CELERY_RESULT_BACKEND
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue