From: antirez Date: Thu, 19 Nov 2009 18:04:54 +0000 (+0100) Subject: writev() finally uncommented again X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/37f68e61024151b1a7461910fe1fcef887b0900b?ds=sidebyside writev() finally uncommented again --- diff --git a/redis.c b/redis.c index df3b4131..a45f2831 100644 --- a/redis.c +++ b/redis.c @@ -1385,7 +1385,6 @@ static void sendReplyToClient(aeEventLoop *el, int fd, void *privdata, int mask) /* Use writev() if we have enough buffers to send */ - #if 0 if (!server.glueoutputbuf && listLength(c->reply) > REDIS_WRITEV_THRESHOLD && !(c->flags & REDIS_MASTER)) @@ -1393,7 +1392,6 @@ static void sendReplyToClient(aeEventLoop *el, int fd, void *privdata, int mask) sendReplyToClientWritev(el, fd, privdata, mask); return; } - #endif while(listLength(c->reply)) { if (server.glueoutputbuf && listLength(c->reply) > 1)