summaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/celeryconfig
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-12-05 12:41:23 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-05 12:41:23 +0000
commitc98a6528c6b0b9ce73d48b97b3287dbd9502543b (patch)
tree158dda969e865ba9ec5cabc37f8426f8064bfa08 /deploy/compass_conf/celeryconfig
parent3bc1fe012f53ae38ce8fc1c9370ed499bdbb3b26 (diff)
parentcceecd6920ae01d99dafb46d225f69e4546f278b (diff)
Merge "add compass-core conf/ into compass4nfv"
Diffstat (limited to 'deploy/compass_conf/celeryconfig')
-rwxr-xr-xdeploy/compass_conf/celeryconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy/compass_conf/celeryconfig b/deploy/compass_conf/celeryconfig
new file mode 100755
index 00000000..f4911279
--- /dev/null
+++ b/deploy/compass_conf/celeryconfig
@@ -0,0 +1,9 @@
+## 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