From 0ce24300d7db15b4c124f8ac48bf03cda4a55ddc Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 25 Jan 2026 15:17:28 -0700 Subject: [PATCH] Fix that --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2c39133..fe6795e 100644 --- a/index.js +++ b/index.js @@ -76,7 +76,7 @@ app.listen(port, () => { // Heartbeat checks setInterval(() => { const now = Date.now() / 1000; - global.db.run('SELECT * FROM analytics WHERE heartbeatCheck <= ?', [now], (err, rows) => { + global.db.run('SELECT * FROM analytics WHERE heartbeatCheck <= ? AND endTime IS NULL', [now], (err, rows) => { if (err) { return console.error('Failed to run heartbeat check', err); }