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

This commit is contained in:
Ryo Hanafusa 2024-10-24 15:56:06 +00:00
parent dfb921b319
commit 5084d2dcb2

View file

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