Closed analytik closed 5 years ago
In node-sinek-master/lib/librdkafka/NConsumer.js
node-sinek-master/lib/librdkafka/NConsumer.js
lagFetchInterval = lagFetchInterval || 1e6 * 60 * 3; //3 minutes this._analyticsIntv = setInterval(this._runAnalytics.bind(this), analyticsInterval); this._lagCheckIntv = setInterval(this._runLagCheck.bind(this), lagFetchInterval);
setInterval and setTimeout use milliseconds, not microseconds. Using a parameter like 45000000 will mean "run this every 45000 seconds".
fixed in sinek@6.27.1
In
node-sinek-master/lib/librdkafka/NConsumer.js
setInterval and setTimeout use milliseconds, not microseconds. Using a parameter like 45000000 will mean "run this every 45000 seconds".