summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-09-17 11:10:09 +0200
committerantirez <antirez@gmail.com>2014-09-17 11:10:09 +0200
commitc89afc8e5db6166bd8855bf48d5d7f7cc16492ad (patch)
treec8c3424ab3cd1f7997292c74899f46a4bae307ef /src/redis.c
parenta2c740ea931580efe2f7414661ab3c896ce8e401 (diff)
downloadredis-c89afc8e5db6166bd8855bf48d5d7f7cc16492ad.tar.gz
Cluster: new option to work with partial slots coverage.
Diffstat (limited to 'src/redis.c')
-rw-r--r--src/redis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/redis.c b/src/redis.c
index a7e1937a5..5ce7d1d93 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -1451,6 +1451,7 @@ void initServerConfig(void) {
server.cluster_node_timeout = REDIS_CLUSTER_DEFAULT_NODE_TIMEOUT;
server.cluster_migration_barrier = REDIS_CLUSTER_DEFAULT_MIGRATION_BARRIER;
server.cluster_slave_validity_factor = REDIS_CLUSTER_DEFAULT_SLAVE_VALIDITY;
+ server.cluster_require_full_coverage = REDIS_CLUSTER_DEFAULT_REQUIRE_FULL_COVERAGE;
server.cluster_configfile = zstrdup(REDIS_DEFAULT_CLUSTER_CONFIG_FILE);
server.lua_caller = NULL;
server.lua_time_limit = REDIS_LUA_TIME_LIMIT;