Fix max inbound message size
This commit is contained in:
parent
a11ae8cebc
commit
d4f6f1097b
@ -85,7 +85,7 @@ public class GrpcServer extends Server {
|
|||||||
.directExecutor()
|
.directExecutor()
|
||||||
.channelType(channelType)
|
.channelType(channelType)
|
||||||
.withChildOption(ChannelOption.SO_KEEPALIVE, false)
|
.withChildOption(ChannelOption.SO_KEEPALIVE, false)
|
||||||
.maxInboundMessageSize(128 * 1024 * 1024)
|
.maxInboundMessageSize(512 * 1024 * 1024)
|
||||||
.addService(grpc)
|
.addService(grpc)
|
||||||
.build();
|
.build();
|
||||||
server.start();
|
server.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user