donphan/config/initializers/timeout.rb

5 lines
98 B
Ruby

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