This commit is contained in:
Louis Lam
2024-10-16 05:12:06 +08:00
parent 93cc21271f
commit 5e55215c9c
2 changed files with 15 additions and 6 deletions

View File

@@ -785,8 +785,6 @@ class Database {
let part = 100 / monitors.length;
let i = 1;
for (let monitor of monitors) {
// TODO: Get two or three days at the same to speed up???
// Get a list of unique dates from the heartbeat table, using raw sql
let dates = await R.getAll(`
SELECT DISTINCT DATE(time) AS date