Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
210054b8
Commit
210054b8
authored
13 years ago
by
Lloyd Hilaiel
Browse files
Options
Downloads
Patches
Plain Diff
fix error introduced to dbwriter heartbeat - inverted health value - issue #566
parent
18f02d10
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/dbwriter
+3
-1
3 additions, 1 deletion
bin/dbwriter
with
3 additions
and
1 deletion
bin/dbwriter
+
3
−
1
View file @
210054b8
...
...
@@ -65,7 +65,9 @@ logger.info("dbwriter starting up");
// This is in front of logging on purpose. see issue #537
heartbeat
.
setup
(
app
,
function
(
cb
)
{
// ping the database to verify we're really healthy.
db
.
ping
(
cb
);
db
.
ping
(
function
(
e
)
{
cb
(
e
===
undefined
);
});
});
// logging! all requests other than __heartbeat__ are logged
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment