diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-12 12:03:39 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-12 12:03:39 -0800 |
commit | e71a98deacd25bfaad5b80b0cd505e183933010c (patch) | |
tree | 261c29f5cd8059f259be6460d864be4edff51738 /examples/rails_app-2.3.4/config.ru | |
parent | a2c054810e035915d1e5ff27afd2b631de6ded0a (diff) | |
download | upr-e71a98deacd25bfaad5b80b0cd505e183933010c.tar.gz |
Revert "examples/rails_app-2.3.4: move middleware setup to config.ru"
This reverts commit 4770ea6d7a6eaf00cc19bc4fb2afd59071e8cf66.
Diffstat (limited to 'examples/rails_app-2.3.4/config.ru')
-rw-r--r-- | examples/rails_app-2.3.4/config.ru | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/examples/rails_app-2.3.4/config.ru b/examples/rails_app-2.3.4/config.ru index dcd7fb5..d51b6b2 100644 --- a/examples/rails_app-2.3.4/config.ru +++ b/examples/rails_app-2.3.4/config.ru @@ -1,14 +1,3 @@ require 'config/environment' -# upr defaults to using a Moneta::Memory backend which is good enough -# for single-process/server applications -$upr = Upr::Monitor.new - -map "/" do - use Rack::Chunked - use Rack::ContentLength - use Rack::Deflater - - use Upr, :backend => $upr, :frequency => 1 - use Rails::Rack::Static - run ActionController::Dispatcher.new -end +use Rails::Rack::Static +run ActionController::Dispatcher.new |