diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-12 18:37:39 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-12 18:37:39 -0800 |
commit | 20c4841a76a6a01dd7f0ed761945cdc8e07785d0 (patch) | |
tree | 428f67c22a4ca3dea3bfe983fbe6d8ae15895a94 | |
parent | 743dcad9f6eef3714b1ff63f06c7844c8d869a54 (diff) | |
download | upr-20c4841a76a6a01dd7f0ed761945cdc8e07785d0.tar.gz |
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.
-rw-r--r-- | lib/upr/input_wrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |