CELERY_TASK_EAGER_PROPAGATES = True

This commit is contained in:
Nikita P. Shupeyko 2018-06-13 10:42:47 +03:00
parent 80dc0ddd3a
commit ad63ec7105

View File

@ -79,7 +79,7 @@ INSTALLED_APPS += ['django_extensions'] # noqa F405
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#task-always-eager # http://docs.celeryproject.org/en/latest/userguide/configuration.html#task-always-eager
CELERY_TASK_ALWAYS_EAGER = True CELERY_TASK_ALWAYS_EAGER = True
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#task-eager-propagates # http://docs.celeryproject.org/en/latest/userguide/configuration.html#task-eager-propagates
CELERY_EAGER_PROPAGATES = CELERY_TASK_ALWAYS_EAGER CELERY_TASK_EAGER_PROPAGATES = True
{%- endif %} {%- endif %}
# Your stuff... # Your stuff...