Merge pull request #111 from guggero/grpc-receive-size

lndclient: increase gRPC max message receive size to 200MiB
This commit is contained in:
Olaoluwa Osuntokun 2019-11-15 11:20:48 -08:00 committed by GitHub
commit e38b29db4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,8 +185,8 @@ var (
defaultSignerFilename = "signer.macaroon"
// maxMsgRecvSize is the largest gRPC message our client will receive.
// We set this to ~50Mb.
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 50)
// We set this to 200MiB.
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 200)
)
func getClientConn(address string, network string, tlsPath string) (