Skip to content

Commit 9582400

Browse files
authored
Use the default 15-seconds TCP-Keepalive
This reverts commit 4bf8b5a The default interval for TCP health probes is 15-seconds
1 parent 2d8fa02 commit 9582400

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

options.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ func NewDialer(opt *Options) func(context.Context, string, string) (net.Conn, er
232232
return func(ctx context.Context, network, addr string) (net.Conn, error) {
233233
netDialer := &net.Dialer{
234234
Timeout: opt.DialTimeout,
235-
KeepAlive: 5 * time.Minute,
236235
}
237236
if opt.TLSConfig == nil {
238237
return netDialer.DialContext(ctx, network, addr)

0 commit comments

Comments
 (0)