mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-20 16:44:27 +01:00
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:
@@ -31,7 +31,7 @@ var pinger = &fasthttp.Client{
|
||||
TLSConfig: &tls.Config{
|
||||
InsecureSkipVerify: true,
|
||||
},
|
||||
MaxConnsPerHost: 1,
|
||||
MaxConnsPerHost: 1000,
|
||||
NoDefaultUserAgentHeader: true,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user