Merge branch 'master' of https://github.com/yangzhe1991/jedis into yangzhe1991-master
This commit is contained in:
@@ -72,7 +72,7 @@ public abstract class JedisClusterCommand<T> {
|
||||
connection = null;
|
||||
|
||||
// retry with random connection
|
||||
return runWithRetries(key, redirections--, true, asking);
|
||||
return runWithRetries(key, redirections - 1, true, asking);
|
||||
} catch (JedisRedirectionException jre) {
|
||||
if (jre instanceof JedisAskDataException) {
|
||||
asking = true;
|
||||
|
||||
Reference in New Issue
Block a user