Skip to content

Commit

Permalink
fix deprecated gRPC field
Browse files Browse the repository at this point in the history
  • Loading branch information
maxthomas committed May 6, 2019
1 parent 9f5cdf1 commit fa97fdb
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 fa97fdb

Please sign in to comment.