Open tagliala opened 1 day ago
and it should be _redlock
right?
and it should be
_redlock
right?
Yes, according to the intent of what I see. But at that point _redlock
does not make much sense because it is a used variable, so I would either go for redlock
or redefine lock_manager
.
I've used redlock
in #153
Hello,
while implementing #153 I've noticed that the newly instantiated redlock client is not being used by the spec, leading to false positives
https://github.com/leandromoreira/redlock-rb/blob/f176e5748a41e8b35a9a986fb6cc8eeae203a64f/spec/client_spec.rb#L48-L66
Example
This was not failing, because
lock_manager
was using its own client, and the previous initialization was not used at all