fix(health): increase MaxConnsPerHost for HTTP pinger

Updated the MaxConnsPerHost setting from 1 to 1000 in the HTTP pinger configuration.

Fixes "no free connections available to host" error
This commit is contained in:
yusing
2026-02-15 17:22:10 +08:00
parent 898002a38e
commit be9af03a1e

View File

@@ -31,7 +31,7 @@ var pinger = &fasthttp.Client{
TLSConfig: &tls.Config{
InsecureSkipVerify: true,
},
MaxConnsPerHost: 1,
MaxConnsPerHost: 1000,
NoDefaultUserAgentHeader: true,
}