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

Lock collections on write access as those methods are not thread safe #801

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

badcel
Copy link
Member

@badcel badcel commented Feb 13, 2023

Fixes: #800

The generator is calling the model classes through the fixer classes in multiple threads to optimize the performance. If e.g. multiple fixers want to disable methods at the same time data can be lost.
@badcel badcel force-pushed the generator-lock-collections branch from b59db67 to ed7b383 Compare February 13, 2023 17:53
@badcel badcel merged commit 54639e7 into main Feb 13, 2023
@badcel badcel deleted the generator-lock-collections branch February 13, 2023 19:46
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.

Lock collections in model during write
1 participant