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:
Ilan Steemers
2015-08-30 18:28:26 +02:00
parent d3283571a6
commit 4f39062785
4 changed files with 39 additions and 12 deletions
+3
View File
@@ -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)