Cluster: node timeout is now configurable.

This commit is contained in:
antirez
2013-04-04 12:29:10 +02:00
parent 00bab23c41
commit 05fa4f4034
5 changed files with 14 additions and 1 deletions

View File

@ -1261,6 +1261,7 @@ void initServerConfig() {
server.repl_ping_slave_period = REDIS_REPL_PING_SLAVE_PERIOD;
server.repl_timeout = REDIS_REPL_TIMEOUT;
server.cluster_enabled = 0;
server.cluster_node_timeout = REDIS_CLUSTER_DEFAULT_NODE_TIMEOUT;
server.cluster_configfile = zstrdup("nodes.conf");
server.lua_caller = NULL;
server.lua_time_limit = REDIS_LUA_TIME_LIMIT;