mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-18 03:27:04 +00:00
Add BUG comment about aggregator draining.
This commit is contained in:
parent
606d120541
commit
ca1eb66df4
@ -289,6 +289,7 @@ func (a *Aggregator) Dispatch(s SummaryReceiver) {
|
|||||||
case req := <-a.closeRequests:
|
case req := <-a.closeRequests:
|
||||||
a.closeInternal()
|
a.closeInternal()
|
||||||
req.done <- true
|
req.done <- true
|
||||||
|
// BUG: Simply returning here will prevent proper draining. Fix this.
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user