mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Merge pull request #1193 from tnm/patch-1
Make sure the log standardizes on 'timeout'
This commit is contained in:
commit
34e2065830
@ -1554,7 +1554,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