Only look for ondemand rules in processing
This commit is contained in:
parent
a2207bbcf4
commit
9de1787de6
|
@ -10,7 +10,7 @@ log = logs.get_logger("processing")
|
|||
|
||||
|
||||
def process_rules(data):
|
||||
all_rules = NotificationRule.objects.filter(enabled=True)
|
||||
all_rules = NotificationRule.objects.filter(enabled=True, interval=0)
|
||||
|
||||
for index, index_messages in data.items():
|
||||
for message in index_messages:
|
||||
|
|
Loading…
Reference in New Issue