From 725496cc0f681701c49c2e8c48e65050cd2312a2 Mon Sep 17 00:00:00 2001 From: "R. Miles McCain" Date: Sat, 2 May 2020 09:16:18 -0400 Subject: [PATCH] Make celery default to eager --- shynet/shynet/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shynet/shynet/settings.py b/shynet/shynet/settings.py index 531a40c..614fca7 100644 --- a/shynet/shynet/settings.py +++ b/shynet/shynet/settings.py @@ -214,7 +214,7 @@ SITE_ID = 1 # 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_REDIS_SOCKET_TIMEOUT = 15