diff options
author | antirez <antirez@gmail.com> | 2013-04-04 14:23:34 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-04-04 14:23:34 +0200 |
commit | d5b383477ef805281de8888b0ad0ddb648df1afc (patch) | |
tree | fb5c4be734a77a00c533a91c155b4b91ccd7a71c | |
parent | 3cc6e7d01da2d95c45cead068a85df079a269948 (diff) | |
download | redis-d5b383477ef805281de8888b0ad0ddb648df1afc.tar.gz |
Cluster: move REDIS_CLUSTER_FAILOVER_DELAY near other timing defines.
-rw-r--r-- | src/redis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.h b/src/redis.h index dddc70173..254ef3712 100644 --- a/src/redis.h +++ b/src/redis.h @@ -522,7 +522,6 @@ typedef struct redisOpArray { #define REDIS_CLUSTER_FAIL 1 /* The cluster can't work */ #define REDIS_CLUSTER_NAMELEN 40 /* sha1 hex length */ #define REDIS_CLUSTER_PORT_INCR 10000 /* Cluster port = baseport + PORT_INCR */ -#define REDIS_CLUSTER_FAILOVER_DELAY 5 /* Seconds */ /* The following defines are amunt of time, sometimes expressed as * multiplicators of the node timeout value (when ending with MULT). */ @@ -532,6 +531,7 @@ typedef struct redisOpArray { #define REDIS_CLUSTER_FAIL_UNDO_TIME_ADD 10 /* Some additional time. */ #define REDIS_CLUSTER_SLAVE_VALIDITY_MULT 10 /* Slave data validity. */ #define REDIS_CLUSTER_FAILOVER_AUTH_RETRY_MULT 1 /* Auth request retry time. */ +#define REDIS_CLUSTER_FAILOVER_DELAY 5 /* Seconds */ struct clusterNode; |