Call writeToClient() directly instead of the write handler.

This commit is contained in:
antirez 2015-09-30 17:41:52 +02:00
parent 01c08b5089
commit 712ea7296d

View File

@ -1751,7 +1751,7 @@ void flushSlavesOutputBuffers(void) {
slave->replstate == SLAVE_STATE_ONLINE &&
listLength(slave->reply))
{
sendReplyToClient(server.el,slave->fd,slave,0);
writeToClient(slave->fd,slave,0);
}
}
}