Change the LIMIT to 100 to ensure enough data for even a 4K display (3840px wide)

pull/5241/head
Ryo Hanafusa 1 month ago
parent dfb921b319
commit 5084d2dcb2

@ -85,7 +85,7 @@ router.get("/api/status-page/heartbeat/:slug", cache("1 minutes"), async (reques
SELECT * FROM heartbeat SELECT * FROM heartbeat
WHERE monitor_id = ? WHERE monitor_id = ?
ORDER BY time DESC ORDER BY time DESC
LIMIT 50 LIMIT 100
`, [ `, [
monitorID, monitorID,
]); ]);

Loading…
Cancel
Save