Skip to content

Commit

Permalink
- ASYNC MODE uses ASYNC CELERY TASKS
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed May 24, 2018
1 parent e4774bf commit 5b854c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1277,8 +1277,7 @@
CELERY_ACKS_LATE = True

# Set this to False in order to run async
# CELERY_TASK_ALWAYS_EAGER = False if ASYNC_SIGNALS else True
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TASK_ALWAYS_EAGER = False if ASYNC_SIGNALS else True
CELERY_TASK_IGNORE_RESULT = True

# I use these to debug kombu crashes; we get a more informative message.
Expand Down

0 comments on commit 5b854c5

Please sign in to comment.