2022-11-25 23:54:43 +05:30
|
|
|
= gitlab_ui_form_for @application_setting, url: preferences_admin_application_settings_path(anchor: 'js-gitaly-settings'), html: { class: 'fieldset-form' } do |f|
|
2022-10-11 01:57:18 +05:30
|
|
|
= form_errors(@application_setting)
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
2021-09-30 23:02:18 +05:30
|
|
|
= f.label :gitaly_timeout_default, _('Default timeout'), class: 'label-bold'
|
2021-03-11 19:13:27 +05:30
|
|
|
= f.number_field :gitaly_timeout_default, class: 'form-control gl-form-input'
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-text.text-muted
|
2021-09-30 23:02:18 +05:30
|
|
|
= _('Timeout for most Gitaly operations (in seconds).')
|
2018-05-09 12:01:36 +05:30
|
|
|
.form-group
|
2021-09-30 23:02:18 +05:30
|
|
|
= f.label :gitaly_timeout_fast, _('Fast timeout'), class: 'label-bold'
|
2021-03-11 19:13:27 +05:30
|
|
|
= f.number_field :gitaly_timeout_fast, class: 'form-control gl-form-input'
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-text.text-muted
|
2021-09-30 23:02:18 +05:30
|
|
|
= _('Timeout for the fastest Gitaly operations (in seconds).')
|
2018-05-09 12:01:36 +05:30
|
|
|
.form-group
|
2021-09-30 23:02:18 +05:30
|
|
|
= f.label :gitaly_timeout_medium, _('Medium timeout'), class: 'label-bold'
|
2021-03-11 19:13:27 +05:30
|
|
|
= f.number_field :gitaly_timeout_medium, class: 'form-control gl-form-input'
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-text.text-muted
|
2021-09-30 23:02:18 +05:30
|
|
|
= _('Timeout for moderately fast Gitaly operations (in seconds). Provide a value between Default timeout and Fast timeout.')
|
2018-05-09 12:01:36 +05:30
|
|
|
|
2022-11-25 23:54:43 +05:30
|
|
|
= f.submit _('Save changes'), pajamas_button: true
|