2019-02-20 16:56:19 +00:00
|
|
|
= form_for @application_setting, url: preferences_admin_application_settings_path(anchor: 'js-gitaly-settings'), html: { class: 'fieldset-form' } do |f|
|
2022-06-15 18:08:44 +00:00
|
|
|
= form_errors(@application_setting, pajamas_alert: true)
|
2018-04-04 09:44:32 +00:00
|
|
|
|
|
|
|
%fieldset
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
2021-07-02 15:07:36 +00:00
|
|
|
= f.label :gitaly_timeout_default, _('Default timeout'), class: 'label-bold'
|
2021-01-31 18:09:51 +00:00
|
|
|
= f.number_field :gitaly_timeout_default, class: 'form-control gl-form-input'
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-text.text-muted
|
2021-07-02 15:07:36 +00:00
|
|
|
= _('Timeout for most Gitaly operations (in seconds).')
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
2021-07-02 15:07:36 +00:00
|
|
|
= f.label :gitaly_timeout_fast, _('Fast timeout'), class: 'label-bold'
|
2021-01-31 18:09:51 +00:00
|
|
|
= f.number_field :gitaly_timeout_fast, class: 'form-control gl-form-input'
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-text.text-muted
|
2021-07-02 15:07:36 +00:00
|
|
|
= _('Timeout for the fastest Gitaly operations (in seconds).')
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
2021-07-02 15:07:36 +00:00
|
|
|
= f.label :gitaly_timeout_medium, _('Medium timeout'), class: 'label-bold'
|
2021-01-31 18:09:51 +00:00
|
|
|
= f.number_field :gitaly_timeout_medium, class: 'form-control gl-form-input'
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-text.text-muted
|
2021-07-02 15:07:36 +00:00
|
|
|
= _('Timeout for moderately fast Gitaly operations (in seconds). Provide a value between Default timeout and Fast timeout.')
|
2018-04-04 09:44:32 +00:00
|
|
|
|
2021-04-20 21:09:07 +00:00
|
|
|
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"
|