Clear buffer after multicastAlarm_ric received

Fix for networks that mix normal alarms with multicastAlarms (delimiter needs to be deactivated).
If the delimiter is deactivated, RICs in the buffer will be deleted only if they are older than multicastAlarm_ignore_time. This could cause a mixture of RICs of the current and the privious multicastAlarm. This problem can be fixed, by clearing the buffer after the multicastAlarm sequence has finished.
This commit is contained in:
f-kessler 2018-08-10 23:12:42 +02:00 committed by GitHub
parent bbeda7f843
commit 58ad0e5308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,8 @@ def multicastAlarmExec(freq, data):
try:
from includes import alarmHandler
alarmHandler.processAlarmHandler("POC", freq, data)
multiList = []
logging.debug("multicastAlarm finished - buffer cleared")
except:
logging.error("processing alarm failed")
logging.debug("processing alarm failed", exc_info=True)