diff --git a/redis.c b/redis.c index ea7d4b27..fff1534b 100644 --- a/redis.c +++ b/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));