Skip to content

Commit

Permalink
Improve Celery Async Tasks configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Oct 27, 2020
1 parent 50e208a commit d5150e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d5150e8

Please sign in to comment.