Skip to content

Commit 4f138e4

Browse files
wallesyangbodong22011
authored andcommitted
Update src/main/java/redis/clients/jedis/JedisClusterCommand.java
Co-authored-by: Yang Bodong <bodong.ybd@alibaba-inc.com>
1 parent 4672751 commit 4f138e4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/redis/clients/jedis/JedisClusterCommand.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ private Supplier<Jedis> handleRedirection(Jedis connection, final JedisRedirecti
130130
this.connectionHandler.renewSlotCache(connection);
131131
}
132132

133-
// release current connection before iteration
134-
releaseConnection(connection);
135133

136134
return () -> {
137135
Jedis redirectedConnection = connectionHandler.getConnectionFromNode(jre.getTargetNode());

0 commit comments

Comments
 (0)