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

lndclient: increase gRPC max message receive size to 200MiB
pull/110/head
Olaoluwa Osuntokun 5 years ago committed by GitHub
commit e38b29db4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) (

Loading…
Cancel
Save