Skip to content

Commit

Permalink
increase grpc max size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Jul 27, 2022
1 parent d7dc6d0 commit b13f217
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions service/client/grpc/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ var (
DefaultPoolMaxIdle = 50

// DefaultMaxRecvMsgSize maximum message that client can receive
// (16 MB).
DefaultMaxRecvMsgSize = 1024 * 1024 * 16
// (32 MB).
DefaultMaxRecvMsgSize = 1024 * 1024 * 32

// DefaultMaxSendMsgSize maximum message that client can send
// (16 MB).
DefaultMaxSendMsgSize = 1024 * 1024 * 16
// (32 MB).
DefaultMaxSendMsgSize = 1024 * 1024 * 32
)

type poolMaxStreams struct{}
Expand Down
8 changes: 4 additions & 4 deletions service/server/grpc/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ import (

var (
// DefaultMaxRecvMsgSize maximum message that client can receive
// (16 MB).
DefaultMaxRecvMsgSize = 1024 * 1024 * 16
// (32 MB).
DefaultMaxRecvMsgSize = 1024 * 1024 * 32

// DefaultMaxSendMsgSize maximum message that client can send
// (16 MB).
DefaultMaxSendMsgSize = 1024 * 1024 * 16
// (32 MB).
DefaultMaxSendMsgSize = 1024 * 1024 * 32
)

const (
Expand Down

0 comments on commit b13f217

Please sign in to comment.