Skip to content

Commit

Permalink
Merge 05920f2 into 60b22b1
Browse files Browse the repository at this point in the history
  • Loading branch information
braedon committed Feb 16, 2018
2 parents 60b22b1 + 05920f2 commit f0deefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/consumer/group.py
Expand Up @@ -642,7 +642,7 @@ def _poll_once(self, timeout_ms, max_records):
# Send any new fetches (won't resend pending fetches)
self._fetcher.send_fetches()

timeout_ms = min(timeout_ms, self._coordinator.time_to_next_poll())
timeout_ms = min(timeout_ms, self._coordinator.time_to_next_poll() * 1000)
self._client.poll(timeout_ms=timeout_ms)
# after the long poll, we should check whether the group needs to rebalance
# prior to returning data so that the group can stabilize faster
Expand Down

0 comments on commit f0deefc

Please sign in to comment.