summaryrefslogtreecommitdiff
path: root/kafka/consumer/group.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/consumer/group.py')
-rw-r--r--kafka/consumer/group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py
index 75fe3ee..3fb9c8e 100644
--- a/kafka/consumer/group.py
+++ b/kafka/consumer/group.py
@@ -631,7 +631,7 @@ class KafkaConsumer(six.Iterator):
self._client.poll()
timeout_at = min(self._consumer_timeout,
- self._client._delayed_tasks.next_at(),
+ self._client._delayed_tasks.next_at() + time.time(),
self._client.cluster.ttl() / 1000.0 + time.time())
for msg in self._fetcher:
yield msg