
Also update celeryconfig to subscribe to the default queue. Change-Id: I82d2fd923863e7f226042c078e4286f86acb3d07
13 lines
421 B
Plaintext
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'
|