Skip to content

Commit

Permalink
Fix SOHU-Co#169: When paused why try to fetch every 1000 ms?
Browse files Browse the repository at this point in the history
  • Loading branch information
kadishmal committed Mar 5, 2015
1 parent fd7d4df commit 0738f4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# kafka-node CHANGELOG

## Version NEXT (Unreleased)

- Fix #169: When paused why try to fetch every 1000 ms?
5 changes: 0 additions & 5 deletions lib/highLevelConsumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,6 @@ HighLevelConsumer.prototype.connect = function () {
self.fetch();
});
}
else {
setTimeout(function () {
self.fetch();
}, 1000);
}
});
}

Expand Down

0 comments on commit 0738f4f

Please sign in to comment.