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