compass-core/conf/celeryconfig
Xicheng Chang 64daaeb3a7 Update machine and switch db api to send task to specific queues.
Also update celeryconfig to subscribe to the default queue.

Change-Id: I82d2fd923863e7f226042c078e4286f86acb3d07
2016-06-29 13:44:31 -04:00

13 lines
421 B
Plaintext

## Celery related setting: this is the default setting once we install RabbitMQ
CELERY_RESULT_BACKEND ="amqp://"
BROKER_URL = "amqp://guest:guest@localhost:5672//"
CELERY_IMPORTS=("compass.tasks.tasks",)
CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']
C_FORCE_ROOT = 1
CELERY_DEFAULT_QUEUE = 'admin@huawei.com'
CELERY_DEFAULT_EXCHANGE = 'admin@huawei.com'
CELERY_DEFAULT_ROUTING_KEY = 'admin@huawei.com'