mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 09:28:12 +08:00
added timeout for removing the dead loop state
This commit is contained in:
@@ -131,6 +131,7 @@ exports.mqttAsync = function (hostname, topic, okMessage, options = {}) {
|
||||
|
||||
setTimeout(() => {
|
||||
client.end();
|
||||
reject("Timeout");
|
||||
}, interval * 1000);
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user