mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-02 00:10:42 +02:00
Merge branch 'master' into feat/status-page-summary-api
This commit is contained in:
commit
0b21ed1acd
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "uptime-kuma",
|
"name": "uptime-kuma",
|
||||||
"version": "2.0.0-dev",
|
"version": "2.0.0-beta.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "uptime-kuma",
|
"name": "uptime-kuma",
|
||||||
"version": "2.0.0-dev",
|
"version": "2.0.0-beta.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@grpc/grpc-js": "~1.8.22",
|
"@grpc/grpc-js": "~1.8.22",
|
||||||
|
@ -892,11 +892,13 @@ class Database {
|
|||||||
AND important = 0
|
AND important = 0
|
||||||
AND time < ${sqlHourOffset}
|
AND time < ${sqlHourOffset}
|
||||||
AND id NOT IN (
|
AND id NOT IN (
|
||||||
|
SELECT id FROM ( -- written this way for Maria's support
|
||||||
SELECT id
|
SELECT id
|
||||||
FROM heartbeat
|
FROM heartbeat
|
||||||
WHERE monitor_id = ?
|
WHERE monitor_id = ?
|
||||||
ORDER BY time DESC
|
ORDER BY time DESC
|
||||||
LIMIT ?
|
LIMIT ?
|
||||||
|
) AS limited_ids
|
||||||
)
|
)
|
||||||
`, [
|
`, [
|
||||||
monitor.id,
|
monitor.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user