Fix `rack-timeout` require
We need to require `rack/timeout/base` according to documentation to not preload Rack::Timeout. This allows us to configure Rack::Timeout on our own.
Showing
... | ... | @@ -164,7 +164,8 @@ gem 'diff_match_patch', '~> 0.1.0' |
# Application server | ||
gem 'rack', '~> 2.0.9' | ||
gem 'rack-timeout', '~> 0.5.1' | ||
# https://github.com/sharpstone/rack-timeout/blob/master/README.md#rails-apps-manually | ||
gem 'rack-timeout', '~> 0.5.1', require: 'rack/timeout/base' | ||
group :unicorn do | ||
gem 'unicorn', '~> 5.5' | ||
... | ... |
Please register or sign in to comment