fix(grpc): fix helm client limited to receiving 4mb by grpc default

pull/3528/head
Koen Faro 8 years ago
parent 289ffcc004
commit b74e5250b5

@ -310,6 +310,7 @@ func (h *Client) connect(ctx context.Context) (conn *grpc.ClientConn, err error)
// getting closed by upstreams // getting closed by upstreams
Time: time.Duration(30) * time.Second, Time: time.Duration(30) * time.Second,
}), }),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(1024 * 1024 * 20)),
} }
switch { switch {
case h.opts.useTLS: case h.opts.useTLS:

Loading…
Cancel
Save