Skip to content

Commit

Permalink
Merge pull request #426 from klim0v/dev
Browse files Browse the repository at this point in the history
optimization
  • Loading branch information
danil-lashin authored Oct 7, 2020
2 parents 775a474 + 15f7d71 commit 6972769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v2/v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func Run(srv *service.Service, addrGRPC, addrApi string, logger log.Logger) erro
)
opts := []grpc.DialOption{
grpc.WithInsecure(),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(50000000)),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(200000000)),
}
err = gw.RegisterApiServiceHandlerFromEndpoint(ctx, gwmux, addrGRPC, opts)
if err != nil {
Expand Down

0 comments on commit 6972769

Please sign in to comment.