We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a9600 commit 46c95f2Copy full SHA for 46c95f2
1 file changed
engine/sessions/http_clients.go
@@ -93,8 +93,8 @@ func newProbeTransport(perHost int) *http.Transport {
93
DialContext: amassnet.NewDialContext(2 * time.Second),
94
ForceAttemptHTTP2: true,
95
// keep this lower: probes spray across many hosts; idle pools become “memory”
96
- MaxIdleConns: 32,
97
- MaxIdleConnsPerHost: 1,
+ MaxIdleConns: perHost * 4,
+ MaxIdleConnsPerHost: perHost,
98
MaxConnsPerHost: perHost,
99
IdleConnTimeout: 5 * time.Second,
100
TLSHandshakeTimeout: 3 * time.Second,
0 commit comments