cirandas.net

ref: master

config/initializers/rack_timeout.rb


1
2
3
4
5
6
begin
  require 'rack-timeout'
  Rack::Timeout.service_timeout = 20
rescue LoadError
  # put 'rack-timeout' on config/Gemfile to use
end