mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 03:18:11 +08:00
Adds django cache as monitor cache
Not the best solution yet, but it solves monitoring problems with brokers that don't have a pattern getter for cluster stats.
This commit is contained in:
@@ -85,6 +85,9 @@ class Conf(object):
|
||||
# Global sync option to for debugging
|
||||
SYNC = conf.get('sync', False)
|
||||
|
||||
# The Django cache to use
|
||||
CACHE = conf.get('cache', 'default')
|
||||
|
||||
# If set to False the scheduler won't execute tasks in the past.
|
||||
# Instead it will run once and reschedule the next run in the future. Defaults to True.
|
||||
CATCH_UP = conf.get('catch_up', True)
|
||||
|
||||
Reference in New Issue
Block a user