mirror of
https://github.com/fluencelabs/redis
synced 2025-05-03 06:22:13 +00:00
Make sure the log standardizes on 'timeout'
This commit is contained in:
parent
98757b4a6e
commit
fe04710908
@ -1534,7 +1534,7 @@ void replicationCron(void) {
|
|||||||
if (server.masterhost && server.repl_state == REDIS_REPL_CONNECTED &&
|
if (server.masterhost && server.repl_state == REDIS_REPL_CONNECTED &&
|
||||||
(time(NULL)-server.master->lastinteraction) > server.repl_timeout)
|
(time(NULL)-server.master->lastinteraction) > server.repl_timeout)
|
||||||
{
|
{
|
||||||
redisLog(REDIS_WARNING,"MASTER time out: no data nor PING received...");
|
redisLog(REDIS_WARNING,"MASTER timeout: no data nor PING received...");
|
||||||
freeClient(server.master);
|
freeClient(server.master);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user