The alarms processing (set/unset) is currently done by a process that runs every 1 sec. It would be more efficient and more immediate if it was event driven, so every data change is compared to alarm conditions at save time.
Since the data change creates an event on the event bus it should be easy to create a queue that the alarm processor handles as a background task.
The alarms processing (set/unset) is currently done by a process that runs every 1 sec. It would be more efficient and more immediate if it was event driven, so every data change is compared to alarm conditions at save time.
Since the data change creates an event on the event bus it should be easy to create a queue that the alarm processor handles as a background task.