Diskless replication: less debugging printfs around.

This commit is contained in:
antirez 2014-10-17 17:11:46 +02:00
parent fd112f52dc
commit 456003af25

View File

@ -888,7 +888,6 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
}
nread = read(fd,buf,readlen);
printf("NREAD %d (%d)\n", (int)nread, (int)readlen);
if (nread <= 0) {
redisLog(REDIS_WARNING,"I/O error trying to sync with MASTER: %s",
(nread == -1) ? strerror(errno) : "connection lost");