elasticsearch: default interval fix

5s instead of 15s
This commit is contained in:
Marcus Efraimsson 2018-05-23 21:44:09 +02:00
parent 242689abe2
commit 8870e3e85b
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A

View File

@ -106,7 +106,7 @@ func (c *baseClientImpl) GetTimeField() string {
func (c *baseClientImpl) GetMinInterval(queryInterval string) (time.Duration, error) {
return tsdb.GetIntervalFrom(c.ds, simplejson.NewFromAny(map[string]string{
"interval": queryInterval,
}), 15*time.Second)
}), 5*time.Second)
}
func (c *baseClientImpl) getSettings() *simplejson.Json {