This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/config/initializers/timeout.rb
2017-02-13 20:42:02 +01:00

5 lines
98 B
Ruby

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