Skip to content

Commit

Permalink
lnd_services: increase client gRPC max receive size
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Jan 29, 2024
1 parent 631313e commit b1bdeb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lnd_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b1bdeb3

Please sign in to comment.