summaryrefslogtreecommitdiff
path: root/kafka/coordinator/base.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2016-04-07 16:13:50 -0700
committerDana Powers <dana.powers@gmail.com>2016-04-08 09:23:57 -0700
commit6662d1e6247f809b04a8fc7cb539a5dd02ed9b65 (patch)
tree25f3c0c1f8285d1d05b28844f14d1af06d9dfb00 /kafka/coordinator/base.py
parent9b71b0da624ebcd6e3e06b4f325e0ddffd1c8f47 (diff)
downloadkafka-python-6662d1e6247f809b04a8fc7cb539a5dd02ed9b65.tar.gz
Default sleep=True in client.poll
Diffstat (limited to 'kafka/coordinator/base.py')
-rw-r--r--kafka/coordinator/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/coordinator/base.py b/kafka/coordinator/base.py
index 348ee4e..c75eb7c 100644
--- a/kafka/coordinator/base.py
+++ b/kafka/coordinator/base.py
@@ -202,7 +202,7 @@ class BaseCoordinator(object):
continue
elif future.retriable():
metadata_update = self._client.cluster.request_update()
- self._client.poll(future=metadata_update, sleep=True)
+ self._client.poll(future=metadata_update)
else:
raise future.exception # pylint: disable-msg=raising-bad-type