From 20c4841a76a6a01dd7f0ed761945cdc8e07785d0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 12 Nov 2009 18:37:39 -0800 Subject: input_wrapper: lower default frequency Backend updates should be pretty cheap, so don't skimp on them since they can help avoid timeouts when connections choke for a little while. --- lib/upr/input_wrapper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/upr/input_wrapper.rb b/lib/upr/input_wrapper.rb index 7c7a0d9..9f3ea1e 100644 --- a/lib/upr/input_wrapper.rb +++ b/lib/upr/input_wrapper.rb @@ -14,7 +14,7 @@ module Upr def initialize(app, options = {}) super(app, Array(options[:path_info] || nil), - options[:frequency] || 3, + options[:frequency] || 1, options[:backend]) # support :drb for compatibility with mongrel_upload_progress -- cgit v1.2.3-24-ge0c7