Skip to content

Commit d0d70f6

Browse files
committed
Raise the dialer timeout as it is not appropriate for certain tasks.
1 parent 724338f commit d0d70f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netx/local_dialer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func MakeLocalTransport(idle int, max int, opts *http.Transport) *http.Transport
9090

9191
var LocalTransport = MakeLocalTransport(16384, 0, &http.Transport{
9292
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
93-
ResponseHeaderTimeout: 10 * time.Second,
93+
ResponseHeaderTimeout: 1 * time.Minute,
9494
})
9595
var LocalH2Transport = &http2.Transport{
9696
DisableCompression: true,

0 commit comments

Comments
 (0)