Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 2725368

Browse files
committed
set initial pool size to 0 make dynamic channel pool work
1 parent 90f82b1 commit 2725368

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/GapicSpannerRpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ private static void maybeEnableGrpcGcpExtension(
640640
// When disabled, use the explicitly configured numChannels.
641641
final int poolSize =
642642
options.isDynamicChannelPoolEnabled()
643-
? options.getDynamicPoolInitialSize()
643+
? 0
644644
: options.getNumChannels();
645645

646646
ApiFunction<ManagedChannelBuilder, ManagedChannelBuilder> apiFunction =

0 commit comments

Comments
 (0)