git » nmdb » commit aa48293

Remove obsolete comment.

author Alberto Bertogli
2007-06-04 05:19:34 UTC
committer Alberto Bertogli
2007-06-04 05:19:34 UTC
parent e8ed68580bb17d7082aacdb2193bb2a9b0889bbd

Remove obsolete comment.

There's no doubt we want to disable Nagle algorithm, remove the comment.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

nmdb/tcp.c +1 -2

diff --git a/nmdb/tcp.c b/nmdb/tcp.c
index 2af231c..5d5561f 100644
--- a/nmdb/tcp.c
+++ b/nmdb/tcp.c
@@ -263,8 +263,7 @@ int tcp_init(void)
 	}
 
 	/* Disable nagle algorithm, as we often handle small amounts of data
-	 * it can make I/O quite slow.
-	 * XXX: back this up with real performance tests. */
+	 * it can make I/O quite slow. */
 	rv = 1;
 	if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &rv, sizeof(rv)) < 0 ) {
 		close(fd);