A
This commit is contained in:
parent
a56d20c21b
commit
a7e520ff7b
2
index.js
2
index.js
|
|
@ -81,7 +81,7 @@ app.listen(port, () => {
|
|||
return console.error('Failed to run heartbeat check', err);
|
||||
}
|
||||
if (!rows || rows.length === 0) {
|
||||
return; // No missed heartbeats
|
||||
return console.log("No hb missed"); // No missed heartbeats
|
||||
}
|
||||
rows.forEach(row => {
|
||||
console.log(`Server ${row.id} missed heartbeat check. Marking as inactive.`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue