Skip to content

Commit

Permalink
Update src/main/java/redis/clients/jedis/JedisClusterCommand.java
Browse files Browse the repository at this point in the history
Co-authored-by: Yang Bodong <bodong.ybd@alibaba-inc.com>
  • Loading branch information
2 people authored and Johan Walles committed Feb 8, 2021
1 parent 4672751 commit 4f138e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/redis/clients/jedis/JedisClusterCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ private Supplier<Jedis> handleRedirection(Jedis connection, final JedisRedirecti
this.connectionHandler.renewSlotCache(connection);
}

// release current connection before iteration
releaseConnection(connection);

return () -> {
Jedis redirectedConnection = connectionHandler.getConnectionFromNode(jre.getTargetNode());
Expand Down

0 comments on commit 4f138e4

Please sign in to comment.