Skip to content

Commit

Permalink
docs: update doc of redis option (#2567)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfyiamcool committed Apr 28, 2023
1 parent 8b2bcd5 commit f1c2e32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ type Options struct {
PoolTimeout time.Duration
// Minimum number of idle connections which is useful when establishing
// new connection is slow.
// Default is 0. the idle connections are not closed by default.
MinIdleConns int
// Maximum number of idle connections.
// Default is 0. the idle connections are not closed by default.
MaxIdleConns int
// ConnMaxIdleTime is the maximum amount of time a connection may be idle.
// Should be less than server's timeout.
Expand Down

0 comments on commit f1c2e32

Please sign in to comment.