Skip to content

Commit 0225b6e

Browse files
committed
lndclient: increase gRPC max message receive size to 200MiB
1 parent 40dbafb commit 0225b6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lndclient/lnd_services.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ var (
185185
defaultSignerFilename = "signer.macaroon"
186186

187187
// maxMsgRecvSize is the largest gRPC message our client will receive.
188-
// We set this to ~50Mb.
189-
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 50)
188+
// We set this to 200MiB.
189+
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 200)
190190
)
191191

192192
func getClientConn(address string, network string, tlsPath string) (

0 commit comments

Comments
 (0)