]> git.saurik.com Git - redis.git/commitdiff
1fe4cd5
authorantirez <antirez@gmail.com>
Mon, 31 Oct 2011 10:14:24 +0000 (11:14 +0100)
committerantirez <antirez@gmail.com>
Mon, 31 Oct 2011 10:14:24 +0000 (11:14 +0100)
src/redis.c
src/redis.h

index a7d8254b8b947d0aa5d78bc0f7f0120296fc8b78..832a9f5926e79d7588be3ff9f9e6220242de87aa 100644 (file)
@@ -869,8 +869,8 @@ void initServerConfig() {
     server.zset_max_ziplist_entries = REDIS_ZSET_MAX_ZIPLIST_ENTRIES;
     server.zset_max_ziplist_value = REDIS_ZSET_MAX_ZIPLIST_VALUE;
     server.shutdown_asap = 0;
-       server.repl_ping_slave_period = REDIS_REPL_PING_SLAVE_PERIOD;
-       server.repl_timeout = REDIS_REPL_TIMEOUT;
+    server.repl_ping_slave_period = REDIS_REPL_PING_SLAVE_PERIOD;
+    server.repl_timeout = REDIS_REPL_TIMEOUT;
     server.cluster_enabled = 0;
     server.cluster.configfile = zstrdup("nodes.conf");
     server.lua_time_limit = REDIS_LUA_TIME_LIMIT;
index dda0f6c9bee4edbdf8fb5864ca0708ae406cf46b..07680903f60b557ce84fb6797037da1cf3023c5d 100644 (file)
@@ -594,8 +594,8 @@ struct redisServer {
     char *masterauth;
     char *masterhost;
     int masterport;
-       int repl_ping_slave_period;
-       int repl_timeout;
+    int repl_ping_slave_period;
+    int repl_timeout;
     redisClient *master;    /* client that is master for this slave */
     int repl_syncio_timeout; /* timeout for synchronous I/O calls */
     int replstate;          /* replication status if the instance is a slave */