Adds a MongoDB broker

* adds mongo broker tests
* adds mongo brokers docs

* broker info is now cached when it needs to connect to a server, to reduce traffic.
This commit is contained in:
Ilan Steemers
2015-09-25 20:03:39 +02:00
parent ef6a60478a
commit 826178c463
11 changed files with 188 additions and 11 deletions
+4
View File
@@ -50,6 +50,10 @@ class Conf(object):
# ORM broker
ORM = conf.get('orm', None)
# MongoDB broker
MONGO = conf.get('mongo', None)
MONGO_DB = conf.get('mongo_db', 'django-q')
# Name of the cluster or site. For when you run multiple sites on one redis server
PREFIX = conf.get('name', 'default')