summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-08-21 12:50:09 +0100
committerSean McGivern <sean@gitlab.com>2017-08-21 12:56:22 +0100
commit0db5f576fedfa5c4b2a1f9f01a0fdc4cbcd759f9 (patch)
tree6cf86500e7a2ef947d68bb199aec49ec5de5820f /app/views/admin/application_settings
parentfa293df2b7f3f63b72640dbc5e70b539cbd106b1 (diff)
downloadgitlab-ce-0db5f576fedfa5c4b2a1f9f01a0fdc4cbcd759f9.tar.gz
Only require sidekiq-limit_fetch when enabled in settingsonly-limit-fetch-when-requested
This gem allows Sidekiq jobs to be throttled. Unfortunately, it has a side-effect: when we haven't enabled job throttling, it will still hit Redis a lot (and miss, because nothing is configured). As this setting already required a restart, ensure that the library is only required when it's enabled.
Diffstat (limited to 'app/views/admin/application_settings')
-rw-r--r--app/views/admin/application_settings/_form.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index 8bf6556079b..dc585054316 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -362,7 +362,9 @@
%fieldset
%legend Background Jobs
%p
- These settings require a restart to take effect.
+ These settings require a
+ = link_to 'restart', help_page_path('administration/restart_gitlab')
+ to take effect.
.form-group
.col-sm-offset-2.col-sm-10
.checkbox