mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Run state manager as regular sub-service (#58246)
This commit is contained in:
@@ -298,8 +298,6 @@ func (sch *schedule) schedulePeriodic(ctx context.Context, t *ticker.T) error {
|
||||
case <-ctx.Done():
|
||||
// waiting for all rule evaluation routines to stop
|
||||
waitErr := dispatcherGroup.Wait()
|
||||
// close the state manager and flush the state
|
||||
sch.stateManager.Close()
|
||||
return waitErr
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user