Skip to content

Commit

Permalink
docs: clarify MaxIdle in SessionPoolConfig (googleapis#4304)
Browse files Browse the repository at this point in the history
Co-authored-by: Hengfeng Li <hengfeng@google.com>
  • Loading branch information
CAFxX and hengfengli committed Jun 23, 2021
1 parent 564102b commit 9bb82c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spanner/session.go
Expand Up @@ -404,7 +404,8 @@ type SessionPoolConfig struct {
// Defaults to 100.
MinOpened uint64

// MaxIdle is the maximum number of idle sessions, pool is allowed to keep.
// MaxIdle is the maximum number of idle sessions that are allowed in the
// session pool.
//
// Defaults to 0.
MaxIdle uint64
Expand Down

0 comments on commit 9bb82c3

Please sign in to comment.