This commit is contained in:
Christopher Cookman 2026-01-25 15:25:26 -07:00
parent a56d20c21b
commit a7e520ff7b

View file

@ -81,7 +81,7 @@ app.listen(port, () => {
return console.error('Failed to run heartbeat check', err); return console.error('Failed to run heartbeat check', err);
} }
if (!rows || rows.length === 0) { if (!rows || rows.length === 0) {
return; // No missed heartbeats return console.log("No hb missed"); // No missed heartbeats
} }
rows.forEach(row => { rows.forEach(row => {
console.log(`Server ${row.id} missed heartbeat check. Marking as inactive.`); console.log(`Server ${row.id} missed heartbeat check. Marking as inactive.`);