Skip loading the rule's schedule after an alerting rule runs #192396
Labels
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
We previous loaded the alerting rule's schedule at the end of a run so we could update the task schedule if ever the rule was updated while the rule was running. This edge case comes at the cost of loading each rule a second time, causing a lot of unnecessary I/O at scale. Instead we should re-use the rule schedule from the rule that was loaded before the alerting rule ran. In the edge case scenario, the rule will take it's new schedule at the end of the next execution.
Definition of Done
The text was updated successfully, but these errors were encountered: