diff options
-rw-r--r-- | lib/unicorn.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 467245d..9fdcb8e 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -65,6 +65,7 @@ module Unicorn use Rack::CommonLogger, $stderr use Rack::ShowExceptions use Rack::Lint + use Rack::TempfileReaper if Rack.const_defined?(:TempfileReaper) run inner_app end.to_app when "deployment" @@ -72,6 +73,7 @@ module Unicorn use Rack::ContentLength use Rack::Chunked use Rack::CommonLogger, $stderr + use Rack::TempfileReaper if Rack.const_defined?(:TempfileReaper) run inner_app end.to_app else |