2018-04-12 16:11:22 -04:00
|
|
|
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
|
2018-04-04 05:44:32 -04:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
2018-04-12 16:11:22 -04:00
|
|
|
.form-group.row
|
2018-04-11 15:36:17 -04:00
|
|
|
= f.label :gitaly_timeout_default, 'Default Timeout Period', class: 'col-form-label col-sm-2'
|
2018-04-04 05:44:32 -04:00
|
|
|
.col-sm-10
|
|
|
|
= f.number_field :gitaly_timeout_default, class: 'form-control'
|
2018-04-11 14:26:37 -04:00
|
|
|
.form-text.text-muted
|
2018-04-04 05:44:32 -04:00
|
|
|
Timeout for Gitaly calls from the GitLab application (in seconds). This timeout is not enforced
|
|
|
|
for git fetch/push operations or Sidekiq jobs.
|
2018-04-12 16:11:22 -04:00
|
|
|
.form-group.row
|
2018-04-11 15:36:17 -04:00
|
|
|
= f.label :gitaly_timeout_fast, 'Fast Timeout Period', class: 'col-form-label col-sm-2'
|
2018-04-04 05:44:32 -04:00
|
|
|
.col-sm-10
|
|
|
|
= f.number_field :gitaly_timeout_fast, class: 'form-control'
|
2018-04-11 14:26:37 -04:00
|
|
|
.form-text.text-muted
|
2018-04-04 05:44:32 -04:00
|
|
|
Fast operation timeout (in seconds). Some Gitaly operations are expected to be fast.
|
|
|
|
If they exceed this threshold, there may be a problem with a storage shard and 'failing fast'
|
|
|
|
can help maintain the stability of the GitLab instance.
|
2018-04-12 16:11:22 -04:00
|
|
|
.form-group.row
|
2018-04-11 15:36:17 -04:00
|
|
|
= f.label :gitaly_timeout_medium, 'Medium Timeout Period', class: 'col-form-label col-sm-2'
|
2018-04-04 05:44:32 -04:00
|
|
|
.col-sm-10
|
|
|
|
= f.number_field :gitaly_timeout_medium, class: 'form-control'
|
2018-04-11 14:26:37 -04:00
|
|
|
.form-text.text-muted
|
2018-04-04 05:44:32 -04:00
|
|
|
Medium operation timeout (in seconds). This should be a value between the Fast and the Default timeout.
|
|
|
|
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|