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

Increase block size to 200 gigamegs!
This commit is contained in:
Olaoluwa Osuntokun 2019-11-15 11:20:23 -08:00 committed by GitHub
commit cea2429489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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