masto-fe/config/initializers/timeout.rb

5 lines
98 B
Ruby
Raw Normal View History

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