2019-02-20 16:56:19 +00:00
= form_for @application_setting, url: network_admin_application_settings_path(anchor: 'js-performance-settings'), html: { class: 'fieldset-form' } do |f|
2018-04-04 09:44:32 +00:00
= form_errors(@application_setting)
%fieldset
2018-06-13 07:40:55 +00:00
.form-group
.form-check
= f.check_box :authorized_keys_enabled, class: 'form-check-input'
= f.label :authorized_keys_enabled, class: 'form-check-label' do
2021-10-08 15:12:51 +00:00
= _('Use authorized_keys file to authenticate SSH keys')
2018-06-13 07:40:55 +00:00
.form-text.text-muted
2021-10-08 15:12:51 +00:00
= _('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-07-24 19:49:31 +00:00
.form-group
= f.label :raw_blob_request_limit, _('Raw blob request rate limit per minute'), class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :raw_blob_request_limit, class: 'form-control gl-form-input'
2019-07-24 19:49:31 +00:00
.form-text.text-muted
2021-10-08 15:12:51 +00:00
= _('Maximum number of requests per minute for each raw path (default is 300). Set to 0 to disable throttling.')
2019-10-16 18:08:01 +00:00
.form-group
= f.label :push_event_hooks_limit, class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :push_event_hooks_limit, class: 'form-control gl-form-input'
2019-10-16 18:08:01 +00:00
.form-text.text-muted
2021-10-08 15:12:51 +00:00
= _('Maximum number of changes (branches or tags) in a single push for which webhooks and services trigger (default is 3).')
2019-10-17 12:07:33 +00:00
.form-group
= f.label :push_event_activities_limit, class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :push_event_activities_limit, class: 'form-control gl-form-input'
2019-10-17 12:07:33 +00:00
.form-text.text-muted
2021-10-08 15:12:51 +00:00
= _('Threshold number of changes (branches or tags) in a single push above which a bulk push event is created (default is 3).')
2019-07-24 19:49:31 +00:00
2021-04-08 21:09:13 +00:00
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"