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-11-18 22:05:49 +05:30
= _('Use authorized_keys file to authenticate SSH keys')
2018-11-08 19:23:39 +05:30
.form-text.text-muted
2021-11-18 22:05:49 +05:30
= _('Authenticate user SSH keys without requiring additional configuration. Performance of GitLab can be improved by using the GitLab database instead.')
= link_to _('How do I configure authentication using the GitLab database?'), help_page_path('administration/operations/fast_ssh_key_lookup'), target: '_blank', rel: 'noopener noreferrer'
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
2021-11-18 22:05:49 +05:30
= _('Maximum number of requests per minute for each raw path (default is 300). Set to 0 to disable throttling.')
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
2021-11-18 22:05:49 +05:30
= _('Maximum number of changes (branches or tags) in a single push for which webhooks and services trigger (default is 3).')
2019-12-21 20:55:43 +05:30
.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
2021-11-18 22:05:49 +05:30
= _('Threshold number of changes (branches or tags) in a single push above which a bulk push event is created (default is 3).')
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"