HA: Bump the max send/recv size for the gRPC server (#4844)
This commit is contained in:
parent
6b7d215e7e
commit
4ede13c91f
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue