Skip to content

Commit

Permalink
Reuse client option to configure server recv limit (grpc#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walton committed Feb 17, 2020
1 parent 2017cf0 commit 817faf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/grpcwebproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func buildGrpcProxyServer(logger *logrus.Entry) *grpc.Server {
return grpc.NewServer(
grpc.CustomCodec(proxy.Codec()), // needed for proxy to function.
grpc.UnknownServiceHandler(proxy.TransparentHandler(director)),
grpc.MaxRecvMsgSize(*flagMaxCallRecvMsgSize),
grpc_middleware.WithUnaryServerChain(
grpc_logrus.UnaryServerInterceptor(logger),
grpc_prometheus.UnaryServerInterceptor,
Expand Down

0 comments on commit 817faf5

Please sign in to comment.