```ruby
# https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#timeout
Rack::Timeout.timeout = 20  # seconds
```

Reduce the logs produced by Rack::Timeout
user
```ruby
# https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#timeout
Rack::Timeout.timeout = 20  # seconds
Rack::Timeout::Logger.level  = Logger::ERROR
```
assistant