summaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/celeryconfig
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-06-09 07:26:19 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-09 07:26:19 +0000
commitdcce2491af9015d6d903d784ae1c145f329ece43 (patch)
tree617c90be07cccce7407598d66398536999344116 /deploy/compass_conf/celeryconfig
parent8ed47ae6ab2e57a37cd90707adcd0b2ea53362a1 (diff)
parentd635bd1f5762acd78545b650b2f55c112643b486 (diff)
Merge "support Containerized compass-core"
Diffstat (limited to 'deploy/compass_conf/celeryconfig')
-rwxr-xr-xdeploy/compass_conf/celeryconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy/compass_conf/celeryconfig b/deploy/compass_conf/celeryconfig
index f4911279..4b4fd55f 100755
--- a/deploy/compass_conf/celeryconfig
+++ b/deploy/compass_conf/celeryconfig
@@ -1,9 +1,12 @@
## Celery related setting: this is the default setting once we install RabbitMQ
CELERY_RESULT_BACKEND ="amqp://"
+BROKER_URL = "amqp://guest:guest@compass-mq:5672//"
-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'