summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_performance.html.haml
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-07-24 19:49:31 +0000
committerStan Hu <stanhu@gmail.com>2019-07-24 19:49:31 +0000
commit6dcde68b6dbce7190ef78e7fef280b634b549450 (patch)
tree2e996ca71e4e16c74f1be94d1f7143ac3e49dad6 /app/views/admin/application_settings/_performance.html.haml
parentb70dbabb6373e7624e3bcb7a6d78049621db891c (diff)
parent3cefc5d7df09dbc21cd9c892bc6c62b5b583ca6a (diff)
downloadgitlab-ce-6dcde68b6dbce7190ef78e7fef280b634b549450.tar.gz
Merge branch '48717-rate-limit-raw-controller-show' into 'master'
Add RateLimiter to RawController See merge request gitlab-org/gitlab-ce!30635
Diffstat (limited to 'app/views/admin/application_settings/_performance.html.haml')
-rw-r--r--app/views/admin/application_settings/_performance.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_performance.html.haml b/app/views/admin/application_settings/_performance.html.haml
index 7821a83530f..b52171afc69 100644
--- a/app/views/admin/application_settings/_performance.html.haml
+++ b/app/views/admin/application_settings/_performance.html.haml
@@ -15,4 +15,10 @@
AuthorizedKeysCommand. Click on the help icon for more details.
= link_to icon('question-circle'), help_page_path('administration/operations/fast_ssh_key_lookup')
+ .form-group
+ = f.label :raw_blob_request_limit, _('Raw blob request rate limit per minute'), class: 'label-bold'
+ = f.number_field :raw_blob_request_limit, class: 'form-control'
+ .form-text.text-muted
+ = _('Highest number of requests per minute for each raw path, default to 300. To disable throttling set to 0.')
+
= f.submit 'Save changes', class: "btn btn-success"