Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions pkg/alertmanager/alertmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,10 @@ var webReload = make(chan chan error)

func init() {
go func() {
for {
select {
// Since this is not a "normal" Alertmanager which reads its config
// from disk, we just ignore web-based reload signals. Config updates are
// only applied externally via ApplyConfig().
case <-webReload:
default:
continue
}
// Since this is not a "normal" Alertmanager which reads its config
// from disk, we just accept and ignore web-based reload signals. Config
// updates are only applied externally via ApplyConfig().
for range webReload {
}
}()
}
Expand Down