summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-11-04 12:53:12 -0600
committerPatricio Cano <suprnova32@gmail.com>2016-11-10 11:38:10 -0600
commit9e2964c15a7d387e46e25c83afa478c12a856d77 (patch)
treed17fbb92b21696b765b1eb3d903330c5383a7213 /app/views/admin
parentd366a943ffe2ae6c3599c2ebc4469d49a103bacb (diff)
downloadgitlab-ce-9e2964c15a7d387e46e25c83afa478c12a856d77.tar.gz
Allow certain Sidekiq jobs to be throttled
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/application_settings/_form.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index 450ec322f2c..01a14accbba 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -284,6 +284,19 @@
results in fewer but larger UDP packets being sent.
%fieldset
+ %legend Background Jobs
+ %p
+ These settings require a restart to take effect.
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :sidekiq_throttling_enabled do
+ = f.check_box :sidekiq_throttling_enabled
+ Enable Sidekiq Job Throttling
+ .help-block
+ Limit the amount of resources slow running jobs are assigned.
+
+ %fieldset
%legend Spam and Anti-bot Protection
.form-group
.col-sm-offset-2.col-sm-10