summaryrefslogtreecommitdiff
path: root/kafka/client_async.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/client_async.py')
-rw-r--r--kafka/client_async.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py
index ca51987..cfc89fc 100644
--- a/kafka/client_async.py
+++ b/kafka/client_async.py
@@ -313,7 +313,7 @@ class KafkaClient(object):
return self._conns[node_id].send(request, expect_response=expect_response)
- def poll(self, timeout_ms=None, future=None, sleep=False):
+ def poll(self, timeout_ms=None, future=None, sleep=True):
"""Try to read and write to sockets.
This method will also attempt to complete node connections, refresh