mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	Increase xmpp connection timout
This commit is contained in:
		| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user