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

Commit 0571d46

Browse files
committed
Increase inbound message & metadata size.
1 parent 1520b27 commit 0571d46

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/CbtTestProxyMain.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ public static void main(String[] args) throws InterruptedException, IOException
3434

3535
CbtTestProxy cbtTestProxy = CbtTestProxy.create();
3636
logger.info(String.format("Test proxy starting on %d", port));
37-
ServerBuilder.forPort(port).addService(cbtTestProxy).build().start().awaitTermination();
37+
ServerBuilder.forPort(port)
38+
.addService(cbtTestProxy)
39+
.maxInboundMessageSize(Integer.MAX_VALUE)
40+
.maxInboundMetadataSize(Integer.MAX_VALUE)
41+
.build()
42+
.start()
43+
.awaitTermination();
3844
}
3945
}

0 commit comments

Comments
 (0)