Skip to content

Commit 46c95f2

Browse files
committed
updated probe transport settings
1 parent 15a9600 commit 46c95f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

engine/sessions/http_clients.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ func newProbeTransport(perHost int) *http.Transport {
9393
DialContext: amassnet.NewDialContext(2 * time.Second),
9494
ForceAttemptHTTP2: true,
9595
// keep this lower: probes spray across many hosts; idle pools become “memory”
96-
MaxIdleConns: 32,
97-
MaxIdleConnsPerHost: 1,
96+
MaxIdleConns: perHost * 4,
97+
MaxIdleConnsPerHost: perHost,
9898
MaxConnsPerHost: perHost,
9999
IdleConnTimeout: 5 * time.Second,
100100
TLSHandshakeTimeout: 3 * time.Second,

0 commit comments

Comments
 (0)