2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-04 06:00:21 +00:00

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