Skip to content

Commit

Permalink
remove keepalive (since go 1.13 default is 15s)
Browse files Browse the repository at this point in the history
  • Loading branch information
h0nIg committed Apr 18, 2024
1 parent 60a01d0 commit da01103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgconn/config.go
Expand Up @@ -800,7 +800,7 @@ func parsePort(s string) (uint16, error) {
}

func makeDefaultDialer() *net.Dialer {
return &net.Dialer{KeepAlive: 5 * time.Minute}
return &net.Dialer{}
}

func makeDefaultResolver() *net.Resolver {
Expand Down

0 comments on commit da01103

Please sign in to comment.