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

worker: allow sending huge messages #607

Merged
merged 2 commits into from
Jul 15, 2024
Merged

worker: allow sending huge messages #607

merged 2 commits into from
Jul 15, 2024

Conversation

saghul
Copy link
Owner

@saghul saghul commented Jul 15, 2024

When sending a payload, prefix it with its length. Then on the receiving end, we read the length and the entire buffer in chunks.

When sending a payload, prefix it with its length. Then on the receiving
end, we read the length and the entire buffer in chunks.
@saghul saghul marked this pull request as ready for review July 15, 2024 22:35
@saghul saghul merged commit 84267a1 into master Jul 15, 2024
18 checks passed
@saghul saghul deleted the worker-large-messages branch July 15, 2024 22:35
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.

1 participant