Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frdrpcserver: update rpcserver-max-recv-size #195

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

ronballesteros
Copy link
Contributor

References:

Change(s):

The change for this PR increases the gRPC message size limit from 400MiB to 600MiB. We encountered a ResourceExhausted error while running the NodeAudit report, particularly on nodes with a high number of on-chain transactions.

{'code': 8, 'message': 'grpc: received message larger than max (419942095 vs. 419430400)', 'details': []}

This error could be due to the gRPC message size exceeding the current 400MiB limit. In LND, this limit is configurable and can be adjusted by the calling client, but Faraday currently lacks this configurability. This is a temporary fix, with issue 177 recommending a long-term solution involving the implementation of pagination for the calls.

@dstadulis
Copy link

What information has informed the choice of 600 MiB as the new limit?

@guggero guggero requested a review from bhandras August 23, 2024 09:29
@guggero guggero merged commit 3aeb6c6 into lightninglabs:master Aug 23, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants