mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-05 17:04:46 +00:00
Fix: Clear Events clears slow response events too
This commit is contained in:
parent
c503d12a4a
commit
1870b5c9d6
1 changed files with 3 additions and 1 deletions
|
@ -1446,7 +1446,9 @@ let needSetup = false;
|
||||||
|
|
||||||
log.info("manage", `Clear Events Monitor: ${monitorID} User ID: ${socket.userID}`);
|
log.info("manage", `Clear Events Monitor: ${monitorID} User ID: ${socket.userID}`);
|
||||||
|
|
||||||
await R.exec("UPDATE heartbeat SET msg = ?, important = ? WHERE monitor_id = ? ", [
|
await R.exec("UPDATE heartbeat SET msg = ?, important = ?, ping_msg = ?, ping_important = ? WHERE monitor_id = ? ", [
|
||||||
|
"",
|
||||||
|
"0",
|
||||||
"",
|
"",
|
||||||
"0",
|
"0",
|
||||||
monitorID,
|
monitorID,
|
||||||
|
|
Loading…
Add table
Reference in a new issue