Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #226 from Wikia/XW-4152
Browse files Browse the repository at this point in the history
XW-4152 | simplify heartbeat logic
  • Loading branch information
hakubo authored Nov 7, 2017
2 parents 0d4c15a + 28488b6 commit dcc473a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions fastboot-server/heartbeat.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
module.exports = function (req, res) {
res
.set('X-Memory', String(process.memoryUsage().rss))
.set('X-Uptime', String(Math.floor(process.uptime())))
.status(200)
.send('Server status is: OK');
res.status(200).send('Server status is: OK');
};

0 comments on commit dcc473a

Please sign in to comment.