discourse/config/initializers/99-unicorn.rb
Sam c0d947aa98 allow bench to run with unicorn optionally
memstats can output yaml now
2014-02-16 16:44:51 +11:00

4 lines
111 B
Ruby

if ENV['UNICORN_ENABLE_OOBGC'] == '1'
require 'middleware/unicorn_oobgc'
Middleware::UnicornOobgc.init
end