diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-12 18:09:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-12 18:09:37 +0300 |
commit | 2c89e169769ead722394a79ed67fcd08e96863dd (patch) | |
tree | 0dadb576846c484475b895f75fab41f71cdb952e /config/initializers/rack_timeout.rb | |
parent | bd497e352ebd279536ae11855871162e82a3f88c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/initializers/rack_timeout.rb')
-rw-r--r-- | config/initializers/rack_timeout.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/rack_timeout.rb b/config/initializers/rack_timeout.rb index 1f1264de208..5d5a5fcf980 100644 --- a/config/initializers/rack_timeout.rb +++ b/config/initializers/rack_timeout.rb @@ -12,6 +12,8 @@ if Gitlab::Runtime.puma? && !Rails.env.test? require 'rack/timeout/base' + Rack::Timeout::Logger.level = Logger::ERROR + Gitlab::Application.configure do |config| config.middleware.insert_before(Rack::Runtime, Rack::Timeout, service_timeout: ENV.fetch('GITLAB_RAILS_RACK_TIMEOUT', 60).to_i, |