From 8ceb1334cd1bf9dbfb3101263e16d1aa65e14971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 12 Sep 2022 22:03:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4GRPC=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/api_node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/nodes/api_node.go b/internal/nodes/api_node.go index 07ff7b94..100404f0 100644 --- a/internal/nodes/api_node.go +++ b/internal/nodes/api_node.go @@ -267,6 +267,7 @@ func (this *APINode) listenRPC(listener net.Listener, tlsConfig *tls.Config) err var rpcServer *grpc.Server var options = []grpc.ServerOption{ grpc.MaxRecvMsgSize(128 * 1024 * 1024), + grpc.MaxSendMsgSize(128 * 1024 * 1024), grpc.UnaryInterceptor(this.unaryInterceptor), }