"doc/LindexCommand.html" did not exist on "73287b2b576fa6a1ff1b61467286cbd5458881d2"
Commit 8c4d91fc authored by antirez's avatar antirez
Browse files

replication slave timeout when receiving the initial bulk data set to 3600...

replication slave timeout when receiving the initial bulk data set to 3600 seconds, now that replication is non-blocking the server must save the db before to start the async replication and this can take a lot of time with huge datasets
parent 2abee6f2
...@@ -3862,7 +3862,7 @@ static int syncWithMaster(void) { ...@@ -3862,7 +3862,7 @@ static int syncWithMaster(void) {
return REDIS_ERR; return REDIS_ERR;
} }
/* Read the bulk write count */ /* Read the bulk write count */
if (syncReadLine(fd,buf,1024,5) == -1) { if (syncReadLine(fd,buf,1024,3600) == -1) {
close(fd); close(fd);
redisLog(REDIS_WARNING,"I/O error reading bulk count from MASTER: %s", redisLog(REDIS_WARNING,"I/O error reading bulk count from MASTER: %s",
strerror(errno)); strerror(errno));
......
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