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

Fixed up toProtocol compressed write flag #61

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

jimmyaxod
Copy link
Contributor

This PR fixes a potential issue with concurrent access to bool in ToProtocol. It replaces it with an explicit SetCompression() call which uses atomic.Bool internally.

@jimmyaxod jimmyaxod merged commit 41ef775 into main Nov 25, 2024
4 checks passed
@jimmyaxod jimmyaxod deleted the jamesmoore/to-protocol-compressed-writes branch November 25, 2024 17:55
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant