Unverified Commit 6a1dd806 authored by Matt Farina's avatar Matt Farina Committed by GitHub

Merge pull request #3469 from mattfarina/fix/3322

fix(grpc): Fixes issue where message sending limited to 4mb
parents 3c39e721 614cd9df
......@@ -36,7 +36,8 @@ var maxMsgSize = 1024 * 1024 * 20
// DefaultServerOpts returns the set of default grpc ServerOption's that Tiller requires.
func DefaultServerOpts() []grpc.ServerOption {
return []grpc.ServerOption{
grpc.MaxMsgSize(maxMsgSize),
grpc.MaxRecvMsgSize(maxMsgSize),
grpc.MaxSendMsgSize(maxMsgSize),
grpc.UnaryInterceptor(newUnaryInterceptor()),
grpc.StreamInterceptor(newStreamInterceptor()),
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment