From 75c7d995ae302bc3768f7f026b7598f235059e7e Mon Sep 17 00:00:00 2001 From: rock619 Date: Sat, 23 Mar 2019 14:28:17 +0900 Subject: [PATCH] fix default value of maxSessions in document of setMaxSessions --- .../main/java/com/google/cloud/spanner/SessionPoolOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPoolOptions.java b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPoolOptions.java index 6cc82cb40c9b..0ae3b8aa7b03 100644 --- a/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPoolOptions.java +++ b/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPoolOptions.java @@ -98,7 +98,7 @@ public Builder setMinSessions(int minSessions) { * Maximum number of sessions that this pool will have. If current numbers of sessions in the * pool is less than this and they are all busy, then a new session will be created for any new * operation. If current number of in use sessions is same as this and a new request comes, pool - * can either block or fail. Defaults to 2000. + * can either block or fail. Defaults to 400. */ public Builder setMaxSessions(int maxSessions) { this.maxSessions = maxSessions;