From d4f6f1097b98305c06a1c8a65930b2f3bfed06d8 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Wed, 25 Sep 2024 11:56:30 +0200 Subject: [PATCH] Fix max inbound message size --- .../java/it/cavallium/rockserver/core/server/GrpcServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/cavallium/rockserver/core/server/GrpcServer.java b/src/main/java/it/cavallium/rockserver/core/server/GrpcServer.java index 7251e7e..db12ce3 100644 --- a/src/main/java/it/cavallium/rockserver/core/server/GrpcServer.java +++ b/src/main/java/it/cavallium/rockserver/core/server/GrpcServer.java @@ -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();