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
4162faa0
Commit
4162faa0
authored
Jul 08, 2019
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap EE-only health check config in `ee` block
parent
75295c6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
config/initializers/health_check.rb
config/initializers/health_check.rb
+4
-2
No files found.
config/initializers/health_check.rb
View file @
4162faa0
...
@@ -2,7 +2,9 @@ HealthCheck.setup do |config|
...
@@ -2,7 +2,9 @@ HealthCheck.setup do |config|
config
.
standard_checks
=
%w(database migrations cache)
config
.
standard_checks
=
%w(database migrations cache)
config
.
full_checks
=
%w(database migrations cache)
config
.
full_checks
=
%w(database migrations cache)
Gitlab
.
ee
do
config
.
add_custom_check
(
'geo'
)
do
config
.
add_custom_check
(
'geo'
)
do
Gitlab
::
Geo
::
HealthCheck
.
new
.
perform_checks
Gitlab
::
Geo
::
HealthCheck
.
new
.
perform_checks
end
end
end
end
end
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