summaryrefslogtreecommitdiff
path: root/kafka/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/client.py')
-rw-r--r--kafka/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client.py b/kafka/client.py
index 39c89ba..5dee7b7 100644
--- a/kafka/client.py
+++ b/kafka/client.py
@@ -48,7 +48,7 @@ class KafkaClient(object):
host_key = (host, port)
if host_key not in self.conns:
- self.conns[host_key] = KafkaConnection(host, port)
+ self.conns[host_key] = KafkaConnection(host, port, timeout=self.timeout)
return self.conns[host_key]