about summary refs log tree commit homepage
path: root/lib/unicorn/socket_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicorn/socket_helper.rb')
-rw-r--r--lib/unicorn/socket_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/unicorn/socket_helper.rb b/lib/unicorn/socket_helper.rb
index 8548276..3519a7b 100644
--- a/lib/unicorn/socket_helper.rb
+++ b/lib/unicorn/socket_helper.rb
@@ -27,9 +27,9 @@ module Unicorn
       # same default value as Mongrel
       :backlog => 1024,
 
-      # since we don't do keepalive, we'll always flush-on-close and
-      # this saves packets for everyone.
-      :tcp_nopush => true,
+      # favor latency over bandwidth savings
+      :tcp_nopush => false,
+      :tcp_nodelay => true,
     }
     #:startdoc: