0.3.0 redis & rabbitmq

This commit is contained in:
Cameron Sparr
2016-01-05 23:48:59 -07:00
parent 7746a2b3cd
commit 6fcd05b855
3 changed files with 41 additions and 30 deletions
+2
View File
@@ -7,6 +7,7 @@ import (
"math/rand"
"net/url"
"strings"
"time"
"github.com/influxdb/influxdb/client/v2"
"github.com/influxdb/telegraf/internal"
@@ -110,6 +111,7 @@ func (i *InfluxDB) Connect() error {
}
i.conns = conns
rand.Seed(time.Now().UnixNano())
return nil
}