diff --git a/cmd/bosun/sched/bolt.go b/cmd/bosun/sched/bolt.go index 4ceff1283a..871295aaeb 100644 --- a/cmd/bosun/sched/bolt.go +++ b/cmd/bosun/sched/bolt.go @@ -115,6 +115,9 @@ func (s *Schedule) save() { // RestoreState restores notification and alert state from the file on disk. func (s *Schedule) RestoreState() error { + defer func() { + bosunStartupTime = time.Now() + }() slog.Infoln("RestoreState") start := time.Now() s.Lock("RestoreState")