Modify objects to play nicely with Redis#pipelined #48

Merged
merged 1 commit into from Oct 20, 2011

Projects

None yet

2 participants

@carsomyr
Contributor

When under Redis#pipelined, some calls return nil values, which then cause errors in Redis objects. In particular, HashKeys#all gives a NoMethodError on nil. I've modified that method to properly handle the nil case, but there could be other places in which the change is necessary.

Please ignore this pull request if Redis objects do not support pipelining, or you feel that the Redis driver itself should return dummy, non-nil values.

@nateware nateware merged commit 161b738 into nateware:master Oct 20, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment