Merge branch 'fix-jedis-cluster-failover-to-slave' of https://github.com/HeartSaVioR/jedis into HeartSaVioR-fix-jedis-cluster-failover-to-slave

This commit is contained in:
Marcos Nils
2014-03-03 18:49:43 -03:00
5 changed files with 200 additions and 41 deletions

View File

@@ -27,7 +27,7 @@ public class JedisCluster implements JedisCommands, BasicCommands {
public JedisCluster(Set<HostAndPort> jedisClusterNode, int timeout,
int maxRedirections) {
this.connectionHandler = new JedisSlotBasedConnectionHandler(
this.connectionHandler = new JedisSlotBasedConnectionGuaranteedConnectionHandler(
jedisClusterNode);
this.timeout = timeout;
this.maxRedirections = maxRedirections;