Commit 1847f09b authored by Douwe Maan's avatar Douwe Maan

Merge branch 'make-mirror-settings-exclusive-to-gitlab-com' into 'master'

Make mirror specific admin application settings exclusive to Gitlab.com

See merge request !2307
parents e7cb01ae 0fb13e3d
%fieldset - if Gitlab.com?
%legend Repository mirror settings %fieldset
.form-group %legend Repository mirror settings
= f.label :mirror_max_delay, class: 'control-label col-sm-2' do .form-group
Maximum delay (Hours) = f.label :mirror_max_delay, class: 'control-label col-sm-2' do
.col-sm-10 Maximum delay (Hours)
= f.number_field :mirror_max_delay, class: 'form-control', min: 0 .col-sm-10
%span.help-block#mirror_max_delay_help_block = f.number_field :mirror_max_delay, class: 'form-control', min: 0
Maximum time between updates that a mirror can have when scheduled to synchronize. %span.help-block#mirror_max_delay_help_block
.form-group Maximum time between updates that a mirror can have when scheduled to synchronize.
= f.label :mirror_max_capacity, class: 'control-label col-sm-2' do .form-group
Maximum capacity = f.label :mirror_max_capacity, class: 'control-label col-sm-2' do
.col-sm-10 Maximum capacity
= f.number_field :mirror_max_capacity, class: 'form-control', min: 0 .col-sm-10
%span.help-block#mirror_max_capacity_help_block = f.number_field :mirror_max_capacity, class: 'form-control', min: 0
Maximum number of mirrors that can be synchronizing at the same time. %span.help-block#mirror_max_capacity_help_block
.form-group Maximum number of mirrors that can be synchronizing at the same time.
= f.label :mirror_capacity_threshold, class: 'control-label col-sm-2' do .form-group
Capacity threshold = f.label :mirror_capacity_threshold, class: 'control-label col-sm-2' do
.col-sm-10 Capacity threshold
= f.number_field :mirror_capacity_threshold, class: 'form-control', min: 0 .col-sm-10
%span.help-block#mirror_capacity_threshold = f.number_field :mirror_capacity_threshold, class: 'form-control', min: 0
Minimum capacity to be available before we schedule more mirrors preemptively. %span.help-block#mirror_capacity_threshold
Minimum capacity to be available before we schedule more mirrors preemptively.
---
title: Make admin mirror application setting Gitlab.com exclusive
merge_request: 2307
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment