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

Fix sending large messages with NATS client #2908

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

nazar-pc
Copy link
Member

Since we're chunking stuff at higher level approximately, in NATS client we need to check the actual hard limit instead since chunks + some wrapper data structures will exceed approximate limit and result in empty buffers being sent to the other side.

Code contributor checklist:

@nazar-pc nazar-pc requested a review from rg3l3dr as a code owner July 11, 2024 01:57
@nazar-pc nazar-pc enabled auto-merge July 11, 2024 01:57
@nazar-pc nazar-pc requested review from vedhavyas and dastansam July 11, 2024 18:47
@nazar-pc nazar-pc added this pull request to the merge queue Jul 12, 2024
Merged via the queue into main with commit 8cd0729 Jul 12, 2024
21 checks passed
@nazar-pc nazar-pc deleted the fix-nats-client-large-messages branch July 12, 2024 08:19
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.

2 participants