Skip to content

Commit

Permalink
Merge pull request #315 from Financial-Times/NOPS-920-change-healthch…
Browse files Browse the repository at this point in the history
…eck-severity

NOPS-920. Changed default severity for error rate healthcheck
  • Loading branch information
AniaMakes authored Jul 23, 2021
2 parents 603d9e7 + e9eb29f commit e83aff2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ft-next-syndication-api",
"description": "Next Syndication API",
"version": "0.38.3",
"version": "0.38.4",
"private": true,
"dependencies": {
"@financial-times/n-es-client": "3.0.0",
Expand Down
5 changes: 4 additions & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ const app = module.exports = express({
require('../health/db-sync-state'),
require('../health/sqs'),
require('../health/error-spikes'),
]
],
errorRateHealthcheck: {
severity: 2
}
});

const middleware = [
Expand Down

0 comments on commit e83aff2

Please sign in to comment.