diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
commit | 1c8fa70f9d0818e2a82089c8643a6e455bca47fd (patch) | |
tree | f339f97de0425270bdd909e2f4d378927b6e0a18 /lib/gitlab/config_checker | |
parent | 736d36d8597d0d1ec1b47644e6d091c3f4a78f45 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/config_checker')
-rw-r--r-- | lib/gitlab/config_checker/puma_rugged_checker.rb | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/lib/gitlab/config_checker/puma_rugged_checker.rb b/lib/gitlab/config_checker/puma_rugged_checker.rb index a9bbaebaf0b..82c59f3328b 100644 --- a/lib/gitlab/config_checker/puma_rugged_checker.rb +++ b/lib/gitlab/config_checker/puma_rugged_checker.rb @@ -7,36 +7,14 @@ module Gitlab extend Gitlab::Git::RuggedImpl::UseRugged def check - return [] unless Gitlab::Runtime.puma? - notices = [] - link_start = '<a href="https://docs.gitlab.com/ee/administration/operations/puma.html">' - link_end = '</a>' - notices << { - type: 'info', - message: _('You are running Puma, which is currently experimental. '\ - 'More information is available in our '\ - '%{link_start}documentation%{link_end}.') % { link_start: link_start, link_end: link_end } - } - - if running_puma_with_multiple_threads? - link_start = '<a href="https://docs.gitlab.com/ee/administration/operations/puma.html">' - link_end = '</a>' - notices << { - type: 'info', - message: _('Puma is running with a thread count above 1. '\ - 'Information on deprecated GitLab features in this configuration is available in the '\ - '%{link_start}documentation%{link_end}.') % { link_start: link_start, link_end: link_end } - } - end - if running_puma_with_multiple_threads? && rugged_enabled_through_feature_flag? link_start = '<a href="https://docs.gitlab.com/ee/administration/operations/puma.html#performance-caveat-when-using-puma-with-rugged">' link_end = '</a>' notices << { type: 'warning', - message: _('Puma is running with a thread count above 1 and the rugged '\ + message: _('Puma is running with a thread count above 1 and the Rugged '\ 'service is enabled. This may decrease performance in some environments. '\ 'See our %{link_start}documentation%{link_end} '\ 'for details of this issue.') % { link_start: link_start, link_end: link_end } |