diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-12-05 01:28:33 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-12-05 01:28:33 +0000 |
commit | 27f666a973a59c8c6738a65b69f9060c41e6958c (patch) | |
tree | 886f0d9cab2189bdd69a213796064358db3624ea | |
parent | 5f8ea2614f92172c7b214441aa3c09a6054c3aa8 (diff) | |
download | unicorn-27f666a973a59c8c6738a65b69f9060c41e6958c.tar.gz |
We favor low latency and consistency with the Unix socket behavior even with TCP.
-rw-r--r-- | lib/unicorn/socket_helper.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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 |