Update main.go

This commit is contained in:
Yan authored and GitHub committed 2019-11-15 00:21:26 +03:00
1 parent e78c05d3f1
commit e3c5a6e197
1 file changed
+2 -2
+2 -2
View File
@@ -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),
)
}