Commit Graph
20 Commits
Author SHA1 Message Date
Honza Kral 672fdf7d5f Make ignore a global parameter 2013-09-25 23:09:50 +02:00
Honza Kral d72b15680c Switch to urllib3 for more performance 2013-08-08 18:06:36 +02:00
Honza Kral ba98e13da7 Don't serialize stings 2013-06-20 14:07:09 +02:00
Honza Kral da478caf12 clarify comment, we now mark all connections as live on success 2013-06-14 16:49:05 +02:00
Honza Kral c686cd2be3 Have error counting contained within ConnectionPool and don't leak out to Transport
Thanks @bleskes for the inspiration!
2013-06-14 16:46:58 +02:00
Honza Kral 51486bec13 Mark connection as dead even when sniffing to avoid using that host 2013-06-14 16:36:56 +02:00
Honza Kral 38661ec508 HEAD requests return no body 2013-06-08 01:26:13 +02:00
Honza Kral a7a3d660b5 It's REtries, not tries, respect that 2013-05-24 01:45:15 +02:00
Honza Kral b1e6c4d6a7 When sniffing try all connections, including the ones used to seed the client 2013-05-24 01:42:04 +02:00
Honza Kral dd19553ba7 Have sniff_hosts reuse existing connection to not waste open sockets 2013-05-24 01:29:31 +02:00
Honza Kral c23aacf1f9 Sniff based on time interval, not number of requests 2013-05-23 17:42:14 +02:00
Honza Kral 787820803a don't shorted sniffing intervals on failure 2013-05-23 17:22:49 +02:00
Honza Kral a093f0258e support IPv6 addresses when parsing node info 2013-05-22 18:49:30 +02:00
Honza Kral fecd26193c Simpler easier to use callback for extracting node information 2013-05-22 18:45:55 +02:00
Honza Kral 0dae1e9df1 Only trigger retry and mark connection as dead on connection errors
Not when we receive an error code from ES.
2013-05-19 18:45:12 +02:00
Honza Kral e74d4f3e5b Transport API docs 2013-05-19 18:26:10 +02:00
Honza Kral 379d443cfa If a connection fails Nth time in a row put it on timeout for 2**(N-1) * default_timeout 2013-05-05 01:00:10 +02:00
Honza Kral 1300e7b279 Forgotten debug print 2013-05-03 17:02:14 +02:00
Honza Kral c96c74b322 Added sniffing logic to Transport 2013-05-03 02:03:05 +02:00
Honza Kral bf0ed843d1 Added Transport class that manages connections 2013-05-03 01:08:25 +02:00