cordova-plugin-mqtt-pahojs
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "cordova-plugin-mqtt-pahojs", | ||
"cordova_name": "MQTT JavaScript Client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Pure JavaScript MQTT client library. Wrapper for paho.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -51,3 +51,3 @@ var Paho = require('./paho_mqttws31'); | ||
this.reconnectCounter = setInterval(function() { | ||
this.reconnectCounterCounted += 250; | ||
this.reconnectCounterCounted += 1000; | ||
var time = (this.reconnectDelay[this.reconnectDelayIdx] - this.reconnectCounterCounted); | ||
@@ -60,3 +60,3 @@ if (time > 0) | ||
} | ||
}.bind(this), 250); | ||
}.bind(this), 1000); | ||
} | ||
@@ -63,0 +63,0 @@ |
Sorry, the diff of this file is not supported yet
95001