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 Dec 7, 2023
1 parent 58dac2e commit e39f130
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 e39f130

Please sign in to comment.