Skip to content

Commit 9f8208c

Browse files
committed
Fix setting maxInboundMetadataSize from GLOBAL
1 parent 7e6bc37 commit 9f8208c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,9 @@ public void copyDefaultsFrom(final GrpcChannelProperties config) {
501501
if (this.maxInboundMessageSize == null) {
502502
this.maxInboundMessageSize = config.maxInboundMessageSize;
503503
}
504+
if (this.maxInboundMetadataSize == null) {
505+
this.maxInboundMetadataSize = config.maxInboundMetadataSize;
506+
}
504507
if (this.negotiationType == null) {
505508
this.negotiationType = config.negotiationType;
506509
}

0 commit comments

Comments
 (0)