app/vmselect/prometheus: reduce default value for -search.latencyOffset from 60s to 30s

30 seconds should be enough for almost all the cases
This commit is contained in:
Aliaksandr Valialkin 2019-11-25 16:32:56 +02:00
parent f7da9b2db2
commit 8811bec14e

View File

@ -23,7 +23,7 @@ import (
)
var (
latencyOffset = flag.Duration("search.latencyOffset", time.Second*60, "The time when data points become visible in query results after the colection. "+
latencyOffset = flag.Duration("search.latencyOffset", time.Second*30, "The time when data points become visible in query results after the colection. "+
"Too small value can result in incomplete last points for query results")
maxQueryDuration = flag.Duration("search.maxQueryDuration", time.Second*30, "The maximum time for search query execution")
maxQueryLen = flag.Int("search.maxQueryLen", 16*1024, "The maximum search query length in bytes")