Skip to content

Commit

Permalink
increase grpc meassage limit (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Nov 2, 2021
1 parent 9d5fa95 commit 3fb38f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gointerfaces/grpcutil/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func Connect(creds credentials.TransportCredentials, dialAddress string) (*grpc.
backoffCfg.MaxDelay = 10 * time.Second
dialOpts = []grpc.DialOption{
grpc.WithConnectParams(grpc.ConnectParams{Backoff: backoffCfg, MinConnectTimeout: 10 * time.Minute}),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(int(15 * datasize.MB))),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(int(200 * datasize.MB))),
grpc.WithKeepaliveParams(keepalive.ClientParameters{}),
}
if creds == nil {
Expand Down

0 comments on commit 3fb38f2

Please sign in to comment.