Fix max inbound message size

This commit is contained in:
Andrea Cavalli 2024-09-25 11:56:30 +02:00
parent a11ae8cebc
commit d4f6f1097b

View File

@ -85,7 +85,7 @@ public class GrpcServer extends Server {
.directExecutor()
.channelType(channelType)
.withChildOption(ChannelOption.SO_KEEPALIVE, false)
.maxInboundMessageSize(128 * 1024 * 1024)
.maxInboundMessageSize(512 * 1024 * 1024)
.addService(grpc)
.build();
server.start();