diff options
author | antirez <antirez@gmail.com> | 2015-07-27 14:55:45 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-07-27 15:03:10 +0200 |
commit | 3325a9b11f9761aaee5f7993b555be44e3d51342 (patch) | |
tree | 19b41a6ea2ca7b31bcaca652198375b1b1f07c06 /src/server.c | |
parent | 32f80e2f1bf42d0508f1114a9dddd91c4719eb8e (diff) | |
download | redis-3325a9b11f9761aaee5f7993b555be44e3d51342.tar.gz |
RDMF: more names updated.
Diffstat (limited to 'src/server.c')
-rw-r--r-- | src/server.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server.c b/src/server.c index 8416bf7e8..775855325 100644 --- a/src/server.c +++ b/src/server.c @@ -1486,10 +1486,10 @@ void initServerConfig(void) { server.repl_min_slaves_to_write = CONFIG_DEFAULT_MIN_SLAVES_TO_WRITE; server.repl_min_slaves_max_lag = CONFIG_DEFAULT_MIN_SLAVES_MAX_LAG; server.cluster_enabled = 0; - 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_node_timeout = CLUSTER_DEFAULT_NODE_TIMEOUT; + server.cluster_migration_barrier = CLUSTER_DEFAULT_MIGRATION_BARRIER; + server.cluster_slave_validity_factor = CLUSTER_DEFAULT_SLAVE_VALIDITY; + server.cluster_require_full_coverage = CLUSTER_DEFAULT_REQUIRE_FULL_COVERAGE; server.cluster_configfile = zstrdup(CONFIG_DEFAULT_CLUSTER_CONFIG_FILE); server.lua_caller = NULL; server.lua_time_limit = LUA_SCRIPT_TIME_LIMIT; @@ -2226,9 +2226,9 @@ int processCommand(client *c) { { int hashslot; - if (server.cluster->state != REDIS_CLUSTER_OK) { + if (server.cluster->state != CLUSTER_OK) { flagTransaction(c); - clusterRedirectClient(c,NULL,0,REDIS_CLUSTER_REDIR_DOWN_STATE); + clusterRedirectClient(c,NULL,0,CLUSTER_REDIR_DOWN_STATE); return C_OK; } else { int error_code; @@ -2855,7 +2855,7 @@ sds genRedisInfoString(char *section) { server.aof_rewrite_scheduled, sdslen(server.aof_buf), aofRewriteBufferSize(), - bioPendingJobsOfType(REDIS_BIO_AOF_FSYNC), + bioPendingJobsOfType(BIO_AOF_FSYNC), server.aof_delayed_fsync); } |