By default, enable Celery Eager when running in Debug

This commit is contained in:
2011-03-15 12:10:23 +00:00
parent 9d91a9c616
commit f60d1bd786

View File

@@ -200,6 +200,7 @@ CELERY_SEND_TASK_ERROR_EMAILS = True
CELERY_RESULT_BACKEND = "amqp" CELERY_RESULT_BACKEND = "amqp"
CELERY_DISABLE_RATE_LIMITS = True CELERY_DISABLE_RATE_LIMITS = True
CELERYD_PREFETCH_MULTIPLIER = 128 CELERYD_PREFETCH_MULTIPLIER = 128
CELERY_ALWAYS_EAGER = DEBUG
# Load the Celery tasks # Load the Celery tasks
djcelery.setup_loader() djcelery.setup_loader()