about summary refs log tree commit homepage
path: root/lib/rainbows/configurator.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-05-03 01:05:11 +0000
committerEric Wong <normalperson@yhbt.net>2011-05-03 01:05:11 +0000
commita7f5f17ba2047ef7143465f612007ea81871a79e (patch)
treefa93430a846c83dd1c79c41f193e4dd73a08f516 /lib/rainbows/configurator.rb
parent01381ab4dfeb032c85e72724df889c7aa381aa32 (diff)
downloadrainbows-a7f5f17ba2047ef7143465f612007ea81871a79e.tar.gz
We're changing our default to 1K buffers to save memory.  This
should reduce memory usage of idle clients and lower pressure on
the MRI GC.  Rails applications using session cookies (the
default) may want to up this to 2K or more.
Diffstat (limited to 'lib/rainbows/configurator.rb')
-rw-r--r--lib/rainbows/configurator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/configurator.rb b/lib/rainbows/configurator.rb
index 3203c5a..b596b0b 100644
--- a/lib/rainbows/configurator.rb
+++ b/lib/rainbows/configurator.rb
@@ -14,6 +14,7 @@ module Rainbows::Configurator
   #     keepalive_timeout 0 # zero disables keepalives entirely
   #     client_max_body_size 5*1024*1024 # 5 megabytes
   #     keepalive_requests 666 # default:100
+  #     client_header_buffer_size 16 * 1024 # 16 kilobytes
   #   end
   #
   #   # the rest of the Unicorn configuration