HA: Bump the max send/recv size for the gRPC server (#4844)

This commit is contained in:
Brian Kassouf 2018-06-29 09:52:23 -07:00 committed by GitHub
parent 6b7d215e7e
commit 4ede13c91f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ func (c *Core) startForwarding(ctx context.Context) error {
grpc.KeepaliveParams(keepalive.ServerParameters{ grpc.KeepaliveParams(keepalive.ServerParameters{
Time: 2 * HeartbeatInterval, Time: 2 * HeartbeatInterval,
}), }),
grpc.MaxRecvMsgSize(math.MaxInt32),
grpc.MaxSendMsgSize(math.MaxInt32),
) )
if ha && c.clusterHandler != nil { if ha && c.clusterHandler != nil {