about summary refs log tree commit diff
path: root/config/initializers/timeout.rb
blob: 6437808844e065655bcdce66f3f9b1b80f9fdf41 (plain) (blame)
1
2
3
4
if Rails.env.production?
  Rack::Timeout.service_timeout = 15
  Rack::Timeout::Logger.disable
end