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 message buffer to be per client #3725

Conversation

danield9tqh
Copy link
Member

Summary

The previous implementation was using a single message buffer for all clients. This seemed to work because JS was single threaded but it also could have been introducing some bugs. Each client should have its own message buffer so messages don't conflict

Testing Plan

Tested by running a server and client locally

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and
what additional work is required, if any.

[ ] Yes

@danield9tqh danield9tqh requested a review from a team as a code owner April 3, 2023 20:47
@danield9tqh danield9tqh force-pushed the daniel/ifl-422-fix-message-buffer-to-be-per-client branch from e0b6e57 to fb9bfe0 Compare April 3, 2023 21:11
@dguenther dguenther merged commit 7efd85a into iron-fish:staging Apr 3, 2023
jowparks pushed a commit that referenced this pull request Apr 5, 2023
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