summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_performance.html.haml
blob: b52171afc69e9ee5eb1ee26969cfd4ad414d30fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
= form_for @application_setting, url: network_admin_application_settings_path(anchor: 'js-performance-settings'), html: { class: 'fieldset-form' } do |f|
  = form_errors(@application_setting)

  %fieldset
    .form-group
      .form-check
        = f.check_box :authorized_keys_enabled, class: 'form-check-input'
        = f.label :authorized_keys_enabled, class: 'form-check-label' do
          Write to "authorized_keys" file
        .form-text.text-muted
          By default, we write to the "authorized_keys" file to support Git
          over SSH without additional configuration. GitLab can be optimized
          to authenticate SSH keys via the database file. Only uncheck this
          if you have configured your OpenSSH server to use the
          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"