mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 11:51:01 +00:00
Structure field controlling the INFO field master_link_down_since_seconds initialized correctly to avoid strange INFO output at startup when a slave has yet to connect to its master.
This commit is contained in:
parent
5ad1faa090
commit
4b8c966140
@ -1084,7 +1084,7 @@ void initServerConfig() {
|
||||
server.repl_syncio_timeout = REDIS_REPL_SYNCIO_TIMEOUT;
|
||||
server.repl_serve_stale_data = 1;
|
||||
server.repl_slave_ro = 1;
|
||||
server.repl_down_since = -1;
|
||||
server.repl_down_since = time(NULL);
|
||||
|
||||
/* Client output buffer limits */
|
||||
server.client_obuf_limits[REDIS_CLIENT_LIMIT_CLASS_NORMAL].hard_limit_bytes = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user