Django ORM broker

This commit is contained in:
Ilan Steemers
2015-09-14 13:24:43 +02:00
parent 9b84bf9110
commit 2bffcf554b
10 changed files with 187 additions and 8 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ class Sentinel(object):
self.reincarnate(self.pusher)
# Call scheduler once a minute (or so)
counter += cycle
if counter == 30:
if counter == 30 and Conf.SCHEDULER:
counter = 0
scheduler(broker=self.broker)
# Save current status