mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Increase xmpp connection timout
This commit is contained in:
parent
c890ca57d5
commit
c4cb92cd61
@ -42,9 +42,11 @@ module.exports = function(RED) {
|
||||
this.client = client({
|
||||
service: proto+'://' + this.server + ':' + this.port,
|
||||
username: this.username,
|
||||
password: this.password
|
||||
password: this.password,
|
||||
timeout: 60000
|
||||
});
|
||||
|
||||
this.client.timeout = 60000;
|
||||
// helper variable for checking against later, maybe we should be using the client
|
||||
// object directly...
|
||||
this.connected = false;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-node-xmpp",
|
||||
"version": "0.5.1",
|
||||
"version": "0.5.2",
|
||||
"description": "A Node-RED node to talk to an XMPP server",
|
||||
"dependencies": {
|
||||
"@xmpp/client": "^0.12.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user