Set `mqtt`-`clientId` to `uptime-kuma_..` instead of `mqttjs_..` (#4503)

pull/4485/head^2
Frank Elsinga 9 months ago committed by GitHub
commit ca14c34977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -81,7 +81,8 @@ class MqttMonitorType extends MonitorType {
let client = mqtt.connect(mqttUrl, { let client = mqtt.connect(mqttUrl, {
username, username,
password password,
clientId: "uptime-kuma_" + Math.random().toString(16).substr(2, 8)
}); });
client.on("connect", () => { client.on("connect", () => {

Loading…
Cancel
Save