Skip to content

Commit 2f17d0d

Browse files
committed
frdrpcserver: bump REST connection gRPC max recv size
1 parent dfa3fcb commit 2f17d0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frdrpcserver/rpcserver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ var (
5656
)
5757

5858
// maxMsgRecvSize is the largest message our REST proxy will receive. We
59-
// set this to 200MiB atm.
60-
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 200)
59+
// set this to 400MiB atm.
60+
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(400 * 1024 * 1024)
6161

6262
// maxInvoiceQueries is the maximum number of invoices we request from
6363
// lnd at a time.

0 commit comments

Comments
 (0)