Guest User

Untitled

a guest
Sep 7th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. BROKER_BACKEND = 'amqp'
  2. BROKER_USER = 'sydney'
  3. BROKER_PASSWORD = 'sydney'
  4. BROKER_HOST = '127.0.0.1'
  5. BROKER_PORT = 5672
  6. BROKER_VHOST = '/sydney'
  7. CELERY_RESULT_BACKEND = "amqp"
  8. CELERY_TASK_SERIALIZER = 'json'
  9. CELERY_RESULT_SERIALIZER = 'json'
  10. CELERY_EVENT_SERIALIZER = 'json'
  11.  
  12. CELERY_QUEUES = {
  13.     "sydney_ams": {
  14.         'exchange_type': 'topic',
  15.         "binding_key": "sydney_ams.#",
  16.     },
  17.     "sydney_cms": {
  18.         'exchange_type': 'topic',
  19.         "binding_key": "sydney_cms.#",
  20.     },
  21.  
  22. }
Add Comment
Please, Sign In to add comment