Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0fb13e3d
Commit
0fb13e3d
authored
Jun 29, 2017
by
Tiago Botelho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make mirror specific admin application settings exclusive to Gitlab.com
parent
75ac0420
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
23 deletions
+28
-23
app/views/admin/application_settings/_repository_mirrors_form.html.haml
...n/application_settings/_repository_mirrors_form.html.haml
+24
-23
changelogs/unreleased-ee/make-mirror-settings-exclusive-to-gitlab-com.yml
...eased-ee/make-mirror-settings-exclusive-to-gitlab-com.yml
+4
-0
No files found.
app/views/admin/application_settings/_repository_mirrors_form.html.haml
View file @
0fb13e3d
%fieldset
%legend
Repository mirror settings
.form-group
=
f
.
label
:mirror_max_delay
,
class:
'control-label col-sm-2'
do
Maximum delay (Hours)
.col-sm-10
=
f
.
number_field
:mirror_max_delay
,
class:
'form-control'
,
min:
0
%span
.help-block
#mirror_max_delay_help_block
Maximum time between updates that a mirror can have when scheduled to synchronize.
.form-group
=
f
.
label
:mirror_max_capacity
,
class:
'control-label col-sm-2'
do
Maximum capacity
.col-sm-10
=
f
.
number_field
:mirror_max_capacity
,
class:
'form-control'
,
min:
0
%span
.help-block
#mirror_max_capacity_help_block
Maximum number of mirrors that can be synchronizing at the same time.
.form-group
=
f
.
label
:mirror_capacity_threshold
,
class:
'control-label col-sm-2'
do
Capacity threshold
.col-sm-10
=
f
.
number_field
:mirror_capacity_threshold
,
class:
'form-control'
,
min:
0
%span
.help-block
#mirror_capacity_threshold
Minimum capacity to be available before we schedule more mirrors preemptively.
-
if
Gitlab
.
com?
%fieldset
%legend
Repository mirror settings
.form-group
=
f
.
label
:mirror_max_delay
,
class:
'control-label col-sm-2'
do
Maximum delay (Hours)
.col-sm-10
=
f
.
number_field
:mirror_max_delay
,
class:
'form-control'
,
min:
0
%span
.help-block
#mirror_max_delay_help_block
Maximum time between updates that a mirror can have when scheduled to synchronize.
.form-group
=
f
.
label
:mirror_max_capacity
,
class:
'control-label col-sm-2'
do
Maximum capacity
.col-sm-10
=
f
.
number_field
:mirror_max_capacity
,
class:
'form-control'
,
min:
0
%span
.help-block
#mirror_max_capacity_help_block
Maximum number of mirrors that can be synchronizing at the same time.
.form-group
=
f
.
label
:mirror_capacity_threshold
,
class:
'control-label col-sm-2'
do
Capacity threshold
.col-sm-10
=
f
.
number_field
:mirror_capacity_threshold
,
class:
'form-control'
,
min:
0
%span
.help-block
#mirror_capacity_threshold
Minimum capacity to be available before we schedule more mirrors preemptively.
changelogs/unreleased-ee/make-mirror-settings-exclusive-to-gitlab-com.yml
0 → 100644
View file @
0fb13e3d
---
title
:
Make admin mirror application setting Gitlab.com exclusive
merge_request
:
2307
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment