Fix Jedis brPop executes twice in a transaction
DATAREDIS-159
This commit is contained in:
@@ -1228,6 +1228,7 @@ public class JedisConnection implements RedisConnection {
|
||||
try {
|
||||
if (isQueueing()) {
|
||||
transaction.brpop(JedisUtils.bXPopArgs(timeout, keys));
|
||||
return null;
|
||||
}
|
||||
if (isPipelined()) {
|
||||
pipeline.brpop(JedisUtils.bXPopArgs(timeout, keys));
|
||||
|
||||
Reference in New Issue
Block a user