From 9bb82c3d5133af3832924d3a6615feca4c447a13 Mon Sep 17 00:00:00 2001 From: Carlo Alberto Ferraris Date: Wed, 23 Jun 2021 13:57:25 +0900 Subject: [PATCH] docs: clarify MaxIdle in SessionPoolConfig (#4304) Co-authored-by: Hengfeng Li --- spanner/session.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spanner/session.go b/spanner/session.go index 49b046a6616..a41276026b6 100644 --- a/spanner/session.go +++ b/spanner/session.go @@ -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