From d5150e8cb4dd40aa25adb9b664a64e21e6087703 Mon Sep 17 00:00:00 2001 From: afabiani Date: Tue, 27 Oct 2020 11:14:12 +0100 Subject: [PATCH] Improve Celery Async Tasks configuration --- geonode/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geonode/settings.py b/geonode/settings.py index b97075d476b..a710ccc5321 100644 --- a/geonode/settings.py +++ b/geonode/settings.py @@ -1677,7 +1677,7 @@ def get_geonode_catalogue_service(): # Set this to False in order to run async _EAGER_FLAG = 'False' if ASYNC_SIGNALS else 'True' CELERY_TASK_ALWAYS_EAGER = ast.literal_eval(os.environ.get('CELERY_TASK_ALWAYS_EAGER', _EAGER_FLAG)) -CELERY_TASK_EAGER_PROPAGATES = ast.literal_eval(os.environ.get('CELERY_TASK_EAGER_PROPAGATES', _EAGER_FLAG)) +CELERY_TASK_EAGER_PROPAGATES = ast.literal_eval(os.environ.get('CELERY_TASK_EAGER_PROPAGATES', 'True')) CELERY_TASK_IGNORE_RESULT = ast.literal_eval(os.environ.get('CELERY_TASK_IGNORE_RESULT', 'True')) # I use these to debug kombu crashes; we get a more informative message.