activitypub-academy/config/initializers/timeout.rb
2017-02-13 20:42:02 +01:00

4 lines
98 B
Ruby

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