Skip to content

Commit f1c2e32

Browse files
authored
docs: update doc of redis option (redis#2567)
1 parent 8b2bcd5 commit f1c2e32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

options.go

+2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ type Options struct {
104104
PoolTimeout time.Duration
105105
// Minimum number of idle connections which is useful when establishing
106106
// new connection is slow.
107+
// Default is 0. the idle connections are not closed by default.
107108
MinIdleConns int
108109
// Maximum number of idle connections.
110+
// Default is 0. the idle connections are not closed by default.
109111
MaxIdleConns int
110112
// ConnMaxIdleTime is the maximum amount of time a connection may be idle.
111113
// Should be less than server's timeout.

0 commit comments

Comments
 (0)