1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-20 20:11:39 +02:00

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,
]);