mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
By default, enable Celery Eager when running in Debug
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user