debian-mirror-gitlab/app/views/admin/application_settings/_performance.html.haml

35 lines
2.1 KiB
Text
Raw Normal View History

2019-09-30 21:07:59 +05:30
= form_for @application_setting, url: network_admin_application_settings_path(anchor: 'js-performance-settings'), html: { class: 'fieldset-form' } do |f|
2018-05-09 12:01:36 +05:30
= form_errors(@application_setting)
%fieldset
.form-group
2018-11-08 19:23:39 +05:30
.form-check
= f.check_box :authorized_keys_enabled, class: 'form-check-input'
= f.label :authorized_keys_enabled, class: 'form-check-label' do
2021-04-29 21:17:54 +05:30
= _('Write to "authorized_keys" file')
2018-11-08 19:23:39 +05:30
.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.
2020-11-24 15:15:51 +05:30
= link_to sprite_icon('question-o'), help_page_path('administration/operations/fast_ssh_key_lookup')
2018-05-09 12:01:36 +05:30
2019-10-12 21:52:04 +05:30
.form-group
= f.label :raw_blob_request_limit, _('Raw blob request rate limit per minute'), class: 'label-bold'
2021-03-11 19:13:27 +05:30
= f.number_field :raw_blob_request_limit, class: 'form-control gl-form-input'
2019-10-12 21:52:04 +05:30
.form-text.text-muted
= _('Highest number of requests per minute for each raw path, default to 300. To disable throttling set to 0.')
2019-12-21 20:55:43 +05:30
.form-group
= f.label :push_event_hooks_limit, class: 'label-bold'
2021-03-11 19:13:27 +05:30
= f.number_field :push_event_hooks_limit, class: 'form-control gl-form-input'
2019-12-21 20:55:43 +05:30
.form-text.text-muted
= _("Number of changes (branches or tags) in a single push to determine whether webhooks and services will be fired or not. Webhooks and services won't be submitted if it surpasses that value.")
.form-group
= f.label :push_event_activities_limit, class: 'label-bold'
2021-03-11 19:13:27 +05:30
= f.number_field :push_event_activities_limit, class: 'form-control gl-form-input'
2019-12-21 20:55:43 +05:30
.form-text.text-muted
= _('Number of changes (branches or tags) in a single push to determine whether individual push events or bulk push event will be created. Bulk push event will be created if it surpasses that value.')
2019-10-12 21:52:04 +05:30
2021-04-29 21:17:54 +05:30
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"