From fa97fdb4f93f2a1c3bb781f43b7685fe53bd1a0f Mon Sep 17 00:00:00 2001 From: max thomas Date: Mon, 6 May 2019 12:08:52 -0400 Subject: [PATCH] fix deprecated gRPC field --- server/grpcsrv/grpcsrv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/grpcsrv/grpcsrv.go b/server/grpcsrv/grpcsrv.go index b0dc4c9d..db486a16 100644 --- a/server/grpcsrv/grpcsrv.go +++ b/server/grpcsrv/grpcsrv.go @@ -42,7 +42,7 @@ func New(addr string, proxySet *proxy.Set, srvOpts ...grpc.ServerOption) (*T, er return nil, errors.Wrap(err, "failed to create listener") } - opts := append(srvOpts, grpc.MaxMsgSize(maxRequestSize)) + opts := append(srvOpts, grpc.MaxRecvMsgSize(maxRequestSize)) grpcSrv := grpc.NewServer(opts...) s := T{ actDesc: actor.Root().NewChild(fmt.Sprintf("grpc://%s", addr)),