Commit 78ac9b7f authored by antirez's avatar antirez
Browse files

Disconnect timedout slave: regression introduced with diskless repl.

parent 75e68625
......@@ -2005,6 +2005,7 @@ void replicationCron(void) {
{
redisLog(REDIS_WARNING, "Disconnecting timedout slave: %s",
replicationGetSlaveName(slave));
freeClient(slave);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment