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
https://github.com/redis/redis-rb/blob/master/lib/redis.rb#L96-L123
Redis#queue is not thread safe because you cannot assume it's safe to read from a hash table when it's also being modified.
Redis#queue
Additionally, the hash uses a default constructor which means Redis#queue may actually modify the hash table.
So there are a number of issues with the implementation.
The text was updated successfully, but these errors were encountered:
Avoid data corruption in #queue.
#queue
82d81b6
Potential fix for redis#878.
Thanks
Sorry, something went wrong.
No branches or pull requests
https://github.com/redis/redis-rb/blob/master/lib/redis.rb#L96-L123
Redis#queue
is not thread safe because you cannot assume it's safe to read from a hash table when it's also being modified.Additionally, the hash uses a default constructor which means
Redis#queue
may actually modify the hash table.So there are a number of issues with the implementation.
The text was updated successfully, but these errors were encountered: