minor pipeline fix in Jedis
This commit is contained in:
@@ -584,6 +584,10 @@ public class JedisConnection implements RedisConnection {
|
||||
|
||||
public void discard() {
|
||||
try {
|
||||
if (isPipelined()) {
|
||||
pipeline.discard();
|
||||
return;
|
||||
}
|
||||
client.discard();
|
||||
} catch (Exception ex) {
|
||||
throw convertJedisAccessException(ex);
|
||||
|
||||
Reference in New Issue
Block a user