From e3c5a6e1977d0ca6888d656fc59e655f4f1d98f9 Mon Sep 17 00:00:00 2001 From: Yan Date: Fri, 15 Nov 2019 00:21:26 +0300 Subject: [PATCH] Update main.go --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 99db228..5f9070e 100644 --- a/main.go +++ b/main.go @@ -60,8 +60,8 @@ func onLocalConfigLoad(cfg *conf.Configuration) { service := backend.GetDefaultService(cfg.ModuleName, handlers...) backend.StartBackendGrpcServer( cfg.GrpcInnerAddress, service, - grpc.MaxRecvMsgSize(1024*1024*4), - grpc.MaxSendMsgSize(1024*1024*4), + grpc.MaxRecvMsgSize(1024*1024*512), + grpc.MaxSendMsgSize(1024*1024*512), ) }