activitypub-academy/config/initializers/timeout.rb

7 lines
135 B
Ruby
Raw Normal View History

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