mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-22 14:30:58 -04:00
added timeout for removing the dead loop state
This commit is contained in:
parent
227bbdea2f
commit
22256dfcd2
2 changed files with 5 additions and 2 deletions
|
@ -131,6 +131,7 @@ exports.mqttAsync = function (hostname, topic, okMessage, options = {}) {
|
|||
|
||||
setTimeout(() => {
|
||||
client.end();
|
||||
reject("Timeout");
|
||||
}, interval * 1000);
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue