donphan/config/initializers/timeout.rb

5 lines
98 B
Ruby

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