From 253678df630c717fbcf7018b3245aa56b5f22660 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 30 May 2023 14:53:34 -0400 Subject: [PATCH] fix: pass the parameter value of enableConnectionPool instead of true always (#2096) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: pass the parameter value of enableConnectionPool instead of true always * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .../com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java index e68894bf9e..0d47910e7b 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java @@ -320,7 +320,7 @@ public Builder setReconnectAfter10M(boolean reconnectAfter10M) { * @return Builder */ public Builder setEnableConnectionPool(boolean enableConnectionPool) { - this.schemaAwareStreamWriterBuilder.setEnableConnectionPool(true); + this.schemaAwareStreamWriterBuilder.setEnableConnectionPool(enableConnectionPool); return this; }