From 27f666a973a59c8c6738a65b69f9060c41e6958c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 5 Dec 2011 01:28:33 +0000 Subject: socket_helper: remove out-of-date comment for TCP_NODELAY We favor low latency and consistency with the Unix socket behavior even with TCP. --- lib/unicorn/socket_helper.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/unicorn/socket_helper.rb b/lib/unicorn/socket_helper.rb index 695e435..168a487 100644 --- a/lib/unicorn/socket_helper.rb +++ b/lib/unicorn/socket_helper.rb @@ -51,7 +51,6 @@ module Unicorn end def set_tcp_sockopt(sock, opt) - # highly portable, but off by default because we don't do keepalive if defined?(TCP_NODELAY) val = opt[:tcp_nodelay] val = DEFAULTS[:tcp_nodelay] if nil == val -- cgit v1.2.3-24-ge0c7