Make sure setnx's result is an integer #3

Merged
merged 1 commit into from May 9, 2013

Projects

None yet

2 participants

@mogstad
mogstad commented May 9, 2013

Tried redis-locking-worker on different redis providers and some of them returned setnx's result as a string. This makes sure it's always an integer.

@jcohen jcohen merged commit fd33002 into yahoo:master May 9, 2013
@jcohen
jcohen commented May 9, 2013

Silly Redis providers! Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment