Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Commit

Permalink
socket_helper: remove out-of-date comment for TCP_NODELAY
Browse files Browse the repository at this point in the history
We favor low latency and consistency with the Unix socket
behavior even with TCP.
  • Loading branch information
Eric Wong committed Dec 5, 2011
1 parent 5f8ea26 commit 27f666a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/unicorn/socket_helper.rb
Expand Up @@ -51,7 +51,6 @@ def accf_arg(af_name)
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
Expand Down

0 comments on commit 27f666a

Please sign in to comment.