cmd/lncli: increase gRPC max message receive size to 200MiB

This commit is contained in:
Oliver Gugger 2019-11-15 16:21:20 +01:00
parent d4d8b03d5b
commit 7470f696ae
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -39,8 +39,8 @@ var (
defaultTLSCertPath = filepath.Join(defaultLndDir, defaultTLSCertFilename)
// maxMsgRecvSize is the largest message our client will receive. We
// set this to ~50Mb atm.
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 50)
// set this to 200MiB atm.
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 200)
)
func fatal(err error) {