lib/shogun/server.rb in shogun-1.0.0 vs lib/shogun/server.rb in shogun-2.0.0
- old
+ new
@@ -1,8 +1,7 @@
module Shogun
module Server
def serve
- @rack.use(Rack::Lineprof) if ENV["RACK_ENV"] == "development"
@rack.use(Rack::Log, @logger)
@rack.use(Rack::Runtime)
@rack.use(ActiveRecord::ConnectionAdapters::ConnectionManagement)
@rack.use(ActiveRecord::QueryCache)
@rack.use(Rack::Chunker)