cmd/lncli: increase gRPC max message receive size to 200MiB
This commit is contained in:
parent
d4d8b03d5b
commit
7470f696ae
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user