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

Commit e17bb74

Browse files
committed
feat(bigtable): lower the value for max rpc channels to make it more conservative
1 parent e652e0f commit e17bb74

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,9 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi
446446
ChannelPoolSettings.builder()
447447
.setInitialChannelCount(10)
448448
.setMinRpcsPerChannel(1)
449-
.setMaxRpcsPerChannel(50)
449+
// Keep it conservative as we scale the channel size every 1min
450+
// and delta is 2 channels.
451+
.setMaxRpcsPerChannel(25)
450452
.setPreemptiveRefreshEnabled(true)
451453
.build())
452454
.setMaxInboundMessageSize(MAX_MESSAGE_SIZE)

0 commit comments

Comments
 (0)