From 7a674dbb0b6022aa877d10a66044fb7f99e6853b Mon Sep 17 00:00:00 2001 From: Steven Moy Date: Thu, 8 Jan 2015 15:43:14 -0800 Subject: [PATCH] Fixed Issue 180 Pass connection pool and seed_connections as two separate arguments --- elasticsearch/transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/transport.py b/elasticsearch/transport.py index 284e355c..6f82eb66 100644 --- a/elasticsearch/transport.py +++ b/elasticsearch/transport.py @@ -201,7 +201,7 @@ class Transport(object): self.last_sniff = time.time() # go through all current connections as well as the # seed_connections for good measure - for c in chain(self.connection_pool.connections + self.seed_connections): + for c in chain(self.connection_pool.connections, self.seed_connections): try: # use small timeout for the sniffing request, should be a fast api call _, headers, node_info = c.perform_request('GET', '/_nodes/_all/clear',