catstodon/config/initializers/timeout.rb
2017-04-02 19:43:44 +02:00

6 lines
135 B
Ruby

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