Remove unused timer.

This commit is contained in:
Julius Volz 2013-07-19 15:15:53 +02:00
parent bc57fa4936
commit f9bca4ba2b

View File

@ -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: