We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b2bcd5 commit f1c2e32Copy full SHA for f1c2e32
options.go
@@ -104,8 +104,10 @@ type Options struct {
104
PoolTimeout time.Duration
105
// Minimum number of idle connections which is useful when establishing
106
// new connection is slow.
107
+ // Default is 0. the idle connections are not closed by default.
108
MinIdleConns int
109
// Maximum number of idle connections.
110
111
MaxIdleConns int
112
// ConnMaxIdleTime is the maximum amount of time a connection may be idle.
113
// Should be less than server's timeout.
0 commit comments