hometown/config/initializers/timeout.rb

7 lines
135 B
Ruby

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