From f60d1bd786d8efb48c9fe3839a056d9f7ed55bfe Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 15 Mar 2011 12:10:23 +0000 Subject: [PATCH] By default, enable Celery Eager when running in Debug --- app/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/settings.py b/app/settings.py index e159db7..644e553 100755 --- a/app/settings.py +++ b/app/settings.py @@ -200,6 +200,7 @@ CELERY_SEND_TASK_ERROR_EMAILS = True CELERY_RESULT_BACKEND = "amqp" CELERY_DISABLE_RATE_LIMITS = True CELERYD_PREFETCH_MULTIPLIER = 128 +CELERY_ALWAYS_EAGER = DEBUG # Load the Celery tasks djcelery.setup_loader()