mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
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
This commit is contained in:
2
redis.c
2
redis.c
@@ -3862,7 +3862,7 @@ static int syncWithMaster(void) {
|
||||
return REDIS_ERR;
|
||||
}
|
||||
/* Read the bulk write count */
|
||||
if (syncReadLine(fd,buf,1024,5) == -1) {
|
||||
if (syncReadLine(fd,buf,1024,3600) == -1) {
|
||||
close(fd);
|
||||
redisLog(REDIS_WARNING,"I/O error reading bulk count from MASTER: %s",
|
||||
strerror(errno));
|
||||
|
||||
Reference in New Issue
Block a user