mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-27 16:20:24 +00:00
Remove unused timer.
This commit is contained in:
parent
bc57fa4936
commit
f9bca4ba2b
@ -266,9 +266,6 @@ func (a *Aggregator) SetRules(r AggregationRules) error {
|
||||
}
|
||||
|
||||
func (a *Aggregator) Dispatch(s SummaryReceiver) {
|
||||
t := time.NewTicker(time.Second)
|
||||
defer t.Stop()
|
||||
|
||||
for {
|
||||
select {
|
||||
case req := <-a.aggRequests:
|
||||
|
Loading…
Reference in New Issue
Block a user