Make celery default to eager

This commit is contained in:
R. Miles McCain 2020-05-02 09:16:18 -04:00
parent c896a4c150
commit 725496cc0f
No known key found for this signature in database
GPG Key ID: 24F9B6A2588C5408

View File

@ -214,7 +214,7 @@ SITE_ID = 1
# Celery # Celery
CELERY_TASK_ALWAYS_EAGER = os.getenv("CELERY_TASK_ALWAYS_EAGER", "False") == "True" CELERY_TASK_ALWAYS_EAGER = os.getenv("CELERY_TASK_ALWAYS_EAGER", "True") == "True"
CELERY_BROKER_URL = os.getenv("CELERY_BROKER_URL") CELERY_BROKER_URL = os.getenv("CELERY_BROKER_URL")
CELERY_REDIS_SOCKET_TIMEOUT = 15 CELERY_REDIS_SOCKET_TIMEOUT = 15