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

Check that messages are well-formed before enqueueing #235

Merged
merged 2 commits into from
Oct 20, 2024

Conversation

edsko
Copy link
Collaborator

@edsko edsko commented Oct 20, 2024

We force messages to NF before enqueueing them. This ensures that if those messages contain any pure exceptions (due to a bug in a client or a server), we detect the problem when the message is enqueued, and can throw an appropriate exception.

Memory usage on my machine was significantly higher for whatever reason,
hovering around 200 MB (heap, not live data, that was _waaay_ less). So set the
limit at double that.
@edsko edsko merged commit 592ebf5 into main Oct 20, 2024
6 checks passed
@edsko edsko deleted the edsko/serialize-outputs branch October 20, 2024 09:00
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