Skip to content

Commit

Permalink
Merge pull request #170 from maxthomas/grpc-deprecated
Browse files Browse the repository at this point in the history
fix deprecated gRPC field
  • Loading branch information
horkhe authored May 7, 2019
2 parents 9f5cdf1 + fa97fdb commit 6bb8e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/grpcsrv/grpcsrv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 6bb8e0a

Please sign in to comment.