mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge abceb1185bc81e869c11918bed3fb17e0bc83dd5 into 2feb290ae3c6cd88c16e4c27c2006a569e0146e2
This commit is contained in:
commit
dd558080ef
@ -675,7 +675,7 @@ module.exports = function(RED) {
|
||||
node.options.password = node.password;
|
||||
node.options.keepalive = node.keepalive;
|
||||
node.options.clean = node.cleansession;
|
||||
node.options.clientId = node.clientid || 'nodered_' + RED.util.generateId();
|
||||
node.options.clientId = node.clientid || 'nodered' + RED.util.generateId();
|
||||
node.options.reconnectPeriod = RED.settings.mqttReconnectTime||5000;
|
||||
delete node.options.protocolId; //V4+ default
|
||||
delete node.options.protocolVersion; //V4 default
|
||||
|
Loading…
x
Reference in New Issue
Block a user