Increase metric store timeout

This commit is contained in:
Jan Eitzinger 2022-03-29 15:22:17 +02:00
parent 31f31fcece
commit 553383c135

View File

@ -63,7 +63,7 @@ func (ccms *CCMetricStore) Init(url, token string, renamings map[string]string)
ccms.queryEndpoint = fmt.Sprintf("%s/api/query", url) ccms.queryEndpoint = fmt.Sprintf("%s/api/query", url)
ccms.jwt = token ccms.jwt = token
ccms.client = http.Client{ ccms.client = http.Client{
Timeout: 5 * time.Second, Timeout: 10 * time.Second,
} }
if renamings != nil { if renamings != nil {