mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Bugfix for shared state
This commit is contained in:
parent
5ad99c5463
commit
b84508b52b
@ -14,10 +14,10 @@ module.exports = function(RED) {
|
|||||||
this.reconnectretries = n.reconnectretries || 999999;
|
this.reconnectretries = n.reconnectretries || 999999;
|
||||||
this.reconnectdelay = (n.reconnectdelay || 15) * 1000;
|
this.reconnectdelay = (n.reconnectdelay || 15) * 1000;
|
||||||
this.name = n.name;
|
this.name = n.name;
|
||||||
|
this.clientConnection = n.clientConnection;
|
||||||
|
this.connected = n.connected;
|
||||||
this.username = this.credentials.user;
|
this.username = this.credentials.user;
|
||||||
this.password = this.credentials.password;
|
this.password = this.credentials.password;
|
||||||
this.clientConnection = null;
|
|
||||||
this.connected = false;
|
|
||||||
}
|
}
|
||||||
RED.nodes.registerType("stomp-server",StompServerNode,{
|
RED.nodes.registerType("stomp-server",StompServerNode,{
|
||||||
credentials: {
|
credentials: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user