mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 03:08:12 +08:00
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:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user