From b1bdeb3726a02c1bf8ed7585ff86d1f49ef47e77 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Thu, 7 Dec 2023 09:59:13 +0100 Subject: [PATCH] lnd_services: increase client gRPC max receive size --- lnd_services.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnd_services.go b/lnd_services.go index fae58b4..19cb82d 100644 --- a/lnd_services.go +++ b/lnd_services.go @@ -789,8 +789,8 @@ var ( defaultChainSubDir = "chain" // maxMsgRecvSize is the largest gRPC message our client will receive. - // We set this to 200MiB. - maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 200) + // We set this to 400MiB. + maxMsgRecvSize = grpc.MaxCallRecvMsgSize(400 * 1024 * 1024) ) func getClientConn(cfg *LndServicesConfig) (*grpc.ClientConn, error) {