This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix partition constructor assignment mixup

  • Loading branch information...
dannycoates committed Nov 14, 2012
1 parent 1e812fd commit d09d224b4a6b74b6bae84b2b173f37c6cdc4bb8f
Showing with 2 additions and 2 deletions.
  1. +2 −2 partition.js
View
@@ -48,8 +48,8 @@ module.exports = function (logger) {
this.broker = broker
this.id = id
this.fetchDelay = this.topic.minFetchDelay
- this.emptyFetches = offset || 0
- this.offset = 0
+ this.emptyFetches = 0
+ this.offset = offset || 0
this.fetcher = fetch.bind(this)
this.fetchResponder = handleResponse.bind(this)
this.paused = true

0 comments on commit d09d224

Please sign in to comment.