From 4ede13c91f730ccb57f5e81dca1fcfc276160b9d Mon Sep 17 00:00:00 2001 From: Brian Kassouf Date: Fri, 29 Jun 2018 09:52:23 -0700 Subject: [PATCH] HA: Bump the max send/recv size for the gRPC server (#4844) --- vault/request_forwarding.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vault/request_forwarding.go b/vault/request_forwarding.go index 3cbd22f33..0c54d7742 100644 --- a/vault/request_forwarding.go +++ b/vault/request_forwarding.go @@ -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 {