adding CELERY_ALWAYS_EAGER to settings

This commit is contained in:
Cayo Puigdefabregas 2021-02-17 10:22:52 +01:00
parent 22b95b5b51
commit 091530bfd4
1 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,8 @@ FLUENT_DASHBOARD_ICON_THEME = '../orchestra/icons'
import djcelery
djcelery.setup_loader()
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
CELERY_ALWAYS_EAGER = True
CELERY_TASK_ALWAYS_EAGER = True
# rest_framework