frdrpcserver: bump REST connection gRPC max recv size

This commit is contained in:
Oliver Gugger 2023-12-07 09:59:39 +01:00
parent dfa3fcb0a9
commit 2f17d0d2ae
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -56,8 +56,8 @@ var (
)
// maxMsgRecvSize is the largest message our REST proxy will receive. We
// set this to 200MiB atm.
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(1 * 1024 * 1024 * 200)
// set this to 400MiB atm.
maxMsgRecvSize = grpc.MaxCallRecvMsgSize(400 * 1024 * 1024)
// maxInvoiceQueries is the maximum number of invoices we request from
// lnd at a time.