feat(alerting): trying to get things to work with new model

This commit is contained in:
Torkel Ödegaard
2016-06-11 13:49:11 +02:00
parent 0ef6801117
commit 71c1c0ab65
5 changed files with 21 additions and 5 deletions
+6
View File
@@ -50,6 +50,12 @@ func (e *Engine) Stop() {
}
func (e *Engine) alertingTicker() {
defer func() {
if err := recover(); err != nil {
e.log.Error("Scheduler Panic, stopping...", "error", err, "stack", log.Stack(1))
}
}()
tickIndex := 0
for {