redis-lock
redis-lock copied to clipboard
Use synchronized safe lock from redis library.
There is a thread safety issue with using the watch command in the redis-rb library without a block as documented here. The block option was only added in redis 3.0, so this change is incompatible with previous versions.
If you are not comfortable with breaking compatibility with redis-rb 2.x, what do you recommend?