Skip to content

Instantly share code, notes, and snippets.

@st4lk
Last active March 5, 2023 09:53
Show Gist options
  • Save st4lk/3b5b81485809996aa6d7130488709ac7 to your computer and use it in GitHub Desktop.
Save st4lk/3b5b81485809996aa6d7130488709ac7 to your computer and use it in GitHub Desktop.
celery eager
# django
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TASK_EAGER_PROPAGATES = True
CELERY_BROKER_URL = 'memory://'
# celery
task_always_eager = True
task_eager_propagates = True
broker_url = 'memory://'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment