mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Increase metric store timeout
This commit is contained in:
parent
31f31fcece
commit
553383c135
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user