Skip to content

Commit b897302

Browse files
committed
settings: force CELERY_TASK_ALWAYS_EAGER = False
1 parent 85db446 commit b897302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@
245245
CELERY_CACHE_BACKEND = 'django-cache'
246246
CELERY_TASK_SERIALIZER = "json"
247247
CELERY_ACCEPT_CONTENT = ['application/json']
248+
CELERY_TASK_ALWAYS_EAGER = False
248249
# If this is True, all tasks will be executed locally by blocking until the task returns.
249-
CELERY_TASK_ALWAYS_EAGER = True if env('DEBUG') == 'True' else False
250250

251251
BOWER_COMPONENTS_ROOT = '/srv/static/'
252252
BOWER_PATH = '/usr/local/bin/bower'

0 commit comments

Comments
 (0)