adding CELERY_ALWAYS_EAGER to settings
This commit is contained in:
parent
22b95b5b51
commit
091530bfd4
|
@ -216,6 +216,8 @@ FLUENT_DASHBOARD_ICON_THEME = '../orchestra/icons'
|
||||||
import djcelery
|
import djcelery
|
||||||
djcelery.setup_loader()
|
djcelery.setup_loader()
|
||||||
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
|
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
|
||||||
|
CELERY_ALWAYS_EAGER = True
|
||||||
|
CELERY_TASK_ALWAYS_EAGER = True
|
||||||
|
|
||||||
|
|
||||||
# rest_framework
|
# rest_framework
|
||||||
|
|
Loading…
Reference in New Issue