about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-11 16:04:08 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-11 16:04:08 -0800
commit82190a59a79a39fe8ac66073532878506bdc7a35 (patch)
treefbd89bfff3cab3b2715b7e806cd2a6c84333cba7
parentec22a960d443ea846161fc16c78f5a6c4206f95b (diff)
downloadupr-82190a59a79a39fe8ac66073532878506bdc7a35.tar.gz
example/rainbows_config: disable Nagle's algorithm
Less delay gives better interactive response
-rw-r--r--examples/rails_app-2.3.4/rainbows_config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rails_app-2.3.4/rainbows_config.rb b/examples/rails_app-2.3.4/rainbows_config.rb
index 9222bef..18c76be 100644
--- a/examples/rails_app-2.3.4/rainbows_config.rb
+++ b/examples/rails_app-2.3.4/rainbows_config.rb
@@ -1,7 +1,7 @@
 # we need thread-safety for Rails with Revactor
 ENV["RAILS_ENV"] = "production"
 
-listen 8080
+listen 8080, :tcp_nodelay => true
 # we're lazy and are just using the Moneta::Memory store
 worker_processes 1
 Rainbows! do