From 39f264173717287eda70910e7a24fbafd21a4a7e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 10 Dec 2010 05:45:14 +0800 Subject: unicorn 3.1.0 - client_buffer_body_size tuning This release enables tuning the client_buffer_body_size to raise or lower the threshold for buffering request bodies to disk. This only applies to users who have not disabled rewindable input. There is also a TeeInput bugfix for uncommon usage patterns and Configurator examples in the FAQ should be fixed --- lib/unicorn/configurator.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/unicorn/configurator.rb') diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index a044e5d..d522c54 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -388,6 +388,8 @@ class Unicorn::Configurator # The maximum size (in +bytes+) to buffer in memory before # resorting to a temporary file. Default is 112 kilobytes. + # This option has no effect if "rewindable_input" is set to + # +false+. def client_body_buffer_size(bytes) set_int(:client_body_buffer_size, bytes, 0) end -- cgit v1.2.3-24-ge0c7