Adds an emergency celery task timeout just in case

This commit is contained in:
Kumar McMillan 2011-12-06 15:20:45 -06:00
Родитель 2e18f37628
Коммит 846c61b10a
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -989,6 +989,10 @@ CELERY_ROUTES = {
# When testing, we always want tasks to raise exceptions. Good for sanity.
CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
# Time in seconds before celery.exceptions.SoftTimeLimitExceeded is raised.
# The task can catch that and recover but should exit ASAP. Note that there is
# a separate, shorter timeout for validation tasks.
CELERYD_TASK_SOFT_TIME_LIMIT = 60 * 2
## Fixture Magic
CUSTOM_DUMPS = {