We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I've noticed Semian has a few globals that aren't thread safe, or at least they're shared among threads. For example this consumers instance variable, the LRU cache, and this subscribers instance variable are all globals. I don't think they should be shared among threads, and if they are, I think they should be using a concurrent hash map.
I don't know all of the possible usages for this library, so I'm not sure the best way to fix it, but I don't think it's correct as it stands.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I've noticed Semian has a few globals that aren't thread safe, or at least they're shared among threads. For example this consumers instance variable, the LRU cache, and this subscribers instance variable are all globals. I don't think they should be shared among threads, and if they are, I think they should be using a concurrent hash map.
I don't know all of the possible usages for this library, so I'm not sure the best way to fix it, but I don't think it's correct as it stands.
Thanks!
The text was updated successfully, but these errors were encountered: