mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 21:18:12 +08:00
Makes DB polling time configurable via poll setting
This commit is contained in:
@@ -50,6 +50,9 @@ class Conf(object):
|
||||
# ORM broker
|
||||
ORM = conf.get('orm', None)
|
||||
|
||||
# Database Poll
|
||||
POLL = conf.get('poll', 0.2)
|
||||
|
||||
# MongoDB broker
|
||||
MONGO = conf.get('mongo', None)
|
||||
MONGO_DB = conf.get('mongo_db', None)
|
||||
|
||||
Reference in New Issue
Block a user