debian-mirror-gitlab/app/views/admin/application_settings/_realtime.html.haml

13 lines
980 B
Text
Raw Normal View History

2019-09-30 21:07:59 +05:30
= form_for @application_setting, url: preferences_admin_application_settings_path(anchor: 'js-realtime-settings'), html: { class: 'fieldset-form' } do |f|
2018-05-09 12:01:36 +05:30
= form_errors(@application_setting)
%fieldset
.form-group
2021-04-29 21:17:54 +05:30
= f.label :polling_interval_multiplier, _('Polling interval multiplier'), class: 'label-bold'
2021-03-11 19:13:27 +05:30
= f.text_field :polling_interval_multiplier, class: 'form-control gl-form-input'
2018-11-08 19:23:39 +05:30
.form-text.text-muted
2021-04-29 21:17:54 +05:30
= _("Change this value to influence how frequently the GitLab UI polls for updates. If you set the value to 2 all polling intervals are multiplied by 2, which means that polling happens half as frequently. The multiplier can also have a decimal value. The default value (1) is a reasonable choice for the majority of GitLab installations. Set to 0 to completely disable polling.")
2020-11-24 15:15:51 +05:30
= link_to sprite_icon('question-o'), help_page_path('administration/polling')
2018-05-09 12:01:36 +05:30
2021-04-29 21:17:54 +05:30
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"