Skip to content

Commit

Permalink
Change task processing to be async by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Jan 7, 2016
1 parent d7d7217 commit baffe03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/sentry/conf/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,11 @@
BROKER_URL = "django://"
BROKER_TRANSPORT_OPTIONS = {}

CELERY_ALWAYS_EAGER = True
# Ensure workers run async by default
# in Development you might want them to run in-process
# though it would cause timeouts/recursions in some cases
CELERY_ALWAYS_EAGER = False

CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
CELERY_IGNORE_RESULT = True
CELERY_SEND_EVENTS = False
Expand Down
1 change: 0 additions & 1 deletion src/sentry/runner/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
# information on configuring your queue broker and workers. Sentry relies
# on a Python framework called Celery to manage queues.
CELERY_ALWAYS_EAGER = False
BROKER_URL = 'redis://localhost:6379'
###############
Expand Down

0 comments on commit baffe03

Please sign in to comment.