Skip to content

Commit

Permalink
HA: Bump the max send/recv size for the gRPC server (#4844)
Browse files Browse the repository at this point in the history
  • Loading branch information
briankassouf authored Jun 29, 2018
1 parent 41ec5bc commit 431d8ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vault/request_forwarding.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ func (c *Core) startForwarding(ctx context.Context) error {
grpc.KeepaliveParams(keepalive.ServerParameters{
Time: 2 * HeartbeatInterval,
}),
grpc.MaxRecvMsgSize(math.MaxInt32),
grpc.MaxSendMsgSize(math.MaxInt32),
)

if ha && c.clusterHandler != nil {
Expand Down

0 comments on commit 431d8ad

Please sign in to comment.