Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Update status.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusAhlfors authored Jun 19, 2023
1 parent bae2a6b commit 0bdf3b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions initialProject/status/status.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ const requestListener = async (req, res) => {
const server = http.createServer(requestListener);
server.listen(3000, '0.0.0.0');

console.log('🌎 Status Server Started ' + new Date().toISOString());

const podReadinessLoop = async () => {
const status = await getStatus();
let allOK = !status.items.find((s) => s.status !== Status.GREEN);
Expand Down

0 comments on commit 0bdf3b3

Please sign in to comment.