andreymal

tabun config: Celery cfg.py

Nov 3rd, 2018
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. BROKER_URL = 'redis://127.0.0.1:6379/1'
  2. CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/2'
  3. CELERY_IMPORTS = ("tasks",)
  4.  
  5. CELERY_TASK_SERIALIZER = 'json'
  6. CELERY_RESULT_SERIALIZER = 'json'
  7. CELERY_ACCEPT_CONTENT = ['json']
  8.  
  9. CELERY_TIMEZONE = 'Europe/Moscow'
  10. CELERY_ENABLE_UTC = True
Add Comment
Please, Sign In to add comment