Fix SRP zCount/zInterStore methods executing synchronously when pipelining

DATAREDIS-142
This commit is contained in:
Jennifer Hickey
2013-04-01 10:32:12 -07:00
parent 90affe90cb
commit 63a79a4ebb
2 changed files with 2 additions and 10 deletions

View File

@@ -1354,7 +1354,7 @@ public class SrpConnection implements RedisConnection {
public Long zCount(byte[] key, double min, double max) {
try {
if (isQueueing()) {
if (isPipelined()) {
pipeline(pipeline.zcount(key, min, max));
return null;
}
@@ -1395,7 +1395,7 @@ public class SrpConnection implements RedisConnection {
}
try {
if (isQueueing()) {
if (isPipelined()) {
pipeline(pipeline.zinterstore(args));
return null;
}