mirror of
https://github.com/uber-common/node-kafka-rest-client.git
synced 2025-12-08 20:59:54 +00:00
fix lint issue (#59)
This commit is contained in:
parent
af11d0f20d
commit
cd6b7307e1
@ -120,11 +120,11 @@ function KafkaBaseProducer(options, producerType) { // eslint-disable-line
|
||||
|
||||
// flush a topic's batch message every second
|
||||
self.flushCycleSecs = options.flushCycleSecs || 1;
|
||||
var flushCache = function flushCache() {
|
||||
var cache = function flushCache() {
|
||||
// eslint-disable-line
|
||||
self.flushEntireCache();
|
||||
};
|
||||
self.flushInterval = setInterval(flushCache, self.flushCycleSecs * 1000); // eslint-disable-line
|
||||
self.flushInterval = setInterval(cache, self.flushCycleSecs * 1000); // eslint-disable-line
|
||||
}
|
||||
|
||||
if (self.enableAudit) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user