summaryrefslogtreecommitdiff
path: root/kafka/client_async.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2016-06-26 15:07:10 -0700
committerGitHub <noreply@github.com>2016-06-26 15:07:10 -0700
commit229ac5d1c989d14bae3591c8b1fb1a93dc5e4b1c (patch)
tree6db1d86207d2e43264a2d02a5dd29453f169e04f /kafka/client_async.py
parentb2bc1f0ed7b339b111e02afec1d8b7aa1d8495da (diff)
downloadkafka-python-229ac5d1c989d14bae3591c8b1fb1a93dc5e4b1c.tar.gz
Wakeup socket optimizations (#740)
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 25952be..63b63d1 100644
--- a/kafka/client_async.py
+++ b/kafka/client_async.py
@@ -726,7 +726,7 @@ class KafkaClient(object):
def _clear_wake_fd(self):
while True:
try:
- self._wake_r.recv(1)
+ self._wake_r.recv(1024)
except:
break