mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
lib/promscrape/discoveryutils: remove limit on the number of concurrently running blocking queries
Too low limit could result in unexpected errors when performing big number of blocking queries.
This commit is contained in:
parent
528587deef
commit
1430bbcf33
@ -94,7 +94,7 @@ func NewClient(apiServer string, ac *promauth.Config) (*Client, error) {
|
|||||||
ReadTimeout: time.Minute * 3,
|
ReadTimeout: time.Minute * 3,
|
||||||
WriteTimeout: 10 * time.Second,
|
WriteTimeout: 10 * time.Second,
|
||||||
MaxResponseBodySize: 300 * 1024 * 1024,
|
MaxResponseBodySize: 300 * 1024 * 1024,
|
||||||
MaxConns: 20 * *maxConcurrency,
|
MaxConns: 64 * 1024,
|
||||||
Dial: dialFunc,
|
Dial: dialFunc,
|
||||||
}
|
}
|
||||||
return &Client{
|
return &Client{
|
||||||
|
Loading…
Reference in New Issue
Block a user