new version of always_eager

This commit is contained in:
Cayo Puigdefabregas 2021-02-17 10:44:46 +01:00
parent 950e04df92
commit c16d067bd8
1 changed files with 2 additions and 0 deletions

View File

@ -218,6 +218,8 @@ djcelery.setup_loader()
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
CELERY_ALWAYS_EAGER = True
CELERY_TASK_ALWAYS_EAGER = True
task_always_eager = True
TASK_ALWAYS_EAGER = True
# rest_framework