Skip to content

Commit cdeb580

Browse files
authored
minor fixup
1 parent ef4e1bb commit cdeb580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cleanhttp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func DefaultPooledTransportWithMin(minIdleConnsPerHost int) *http.Transport {
4545
TLSHandshakeTimeout: 10 * time.Second,
4646
ExpectContinueTimeout: 1 * time.Second,
4747
ForceAttemptHTTP2: true,
48-
MaxIdleConnsPerHost: func() int {
48+
MaxIdleConnsPerHost: func() int {
4949
maxIdleConnsPerHost := runtime.GOMAXPROCS(0) + 1
5050
if maxIdleConnsPerHost < minIdleConnsPerHost {
5151
return minIdleConnsPerHost

0 commit comments

Comments
 (0)