Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
1fe4cd5d
Commit
1fe4cd5d
authored
Oct 18, 2011
by
Herbert G. Fischer
Browse files
fixed source indenting
parent
421f6afd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
1fe4cd5d
...
...
@@ -848,8 +848,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
;
updateLRUClock
();
resetServerSaveParams
();
...
...
src/redis.h
View file @
1fe4cd5d
...
...
@@ -455,8 +455,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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment