1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Ensure stomp retconnect retry default

to close #478
This commit is contained in:
Dave Conway-Jones 2018-08-15 22:17:32 +01:00
parent d1eaec49c8
commit 85ddffb98f
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@ module.exports = function(RED) {
this.port = n.port;
this.protocolversion = n.protocolversion;
this.vhost = n.vhost;
this.reconnectretries = n.reconnectretries;
this.reconnectdelay = n.reconnectdelay * 1000;
this.reconnectretries = n.reconnectretries || 999999;
this.reconnectdelay = (n.reconnectdelay || 15) * 1000;
this.name = n.name;
this.username = this.credentials.user;
this.password = this.credentials.password;

View File

@ -1,9 +1,9 @@
{
"name" : "node-red-node-stomp",
"version" : "0.0.10",
"version" : "0.0.11",
"description" : "A Node-RED node to publish and subscribe to/from a Stomp server",
"dependencies" : {
"stomp-client" : "0.8.*"
"stomp-client" : "^0.9.0"
},
"repository" : {
"type":"git",