hometown/config/initializers/timeout.rb
2017-01-26 18:48:56 +01:00

5 lines
98 B
Ruby

if Rails.env.production?
Rack::Timeout.service_timeout = 15
Rack::Timeout::Logger.disable
end