mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 14:34:53 +03:00
CELERY_TASK_TIME_LIMIT
This commit is contained in:
parent
7d7eb78773
commit
bf8c0d9f31
|
@ -242,6 +242,9 @@ CELERY_ACCEPT_CONTENT = ['json']
|
|||
CELERY_TASK_SERIALIZER = 'json'
|
||||
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#std:setting-result_serializer
|
||||
CELERY_RESULT_SERIALIZER = 'json'
|
||||
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#task-time-limit
|
||||
# TODO: set to whatever value is adequate in your circumstances
|
||||
CELERY_TASK_TIME_LIMIT = 5 * 60
|
||||
|
||||
{%- endif %}
|
||||
# django-allauth
|
||||
|
|
Loading…
Reference in New Issue
Block a user