Skip to content

Instantly share code, notes, and snippets.

@aballah-chamakh
Created December 16, 2019 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aballah-chamakh/8fb2242b793d2dbed0036e462c250d56 to your computer and use it in GitHub Desktop.
Save aballah-chamakh/8fb2242b793d2dbed0036e462c250d56 to your computer and use it in GitHub Desktop.
# ....
# configure celery and redis
BROKER_URL = 'redis://localhost:6379'
CELERY_RESULT_BACKEND = 'redis://'
CELERY_ACCEPT_CONTENT = ['application/json']
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TASK_SERIALIZER = 'json'
# ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment