Commit Graph
15 Commits
Author SHA1 Message Date
Honza Kral fe7cc106f6 Use unittest2 even for python 2.6 2013-08-28 19:11:28 +02:00
Honza Kral d180e62a99 Revert "Support python 2.6"
This reverts commit 158f6e6183.
2013-08-28 19:02:42 +02:00
Honza Kral 158f6e6183 Support python 2.6 2013-08-27 04:07:52 +02:00
Honza Kral 39bcd81957 Minor fixes 2013-08-25 17:58:30 +02:00
Honza Kral ba98e13da7 Don't serialize stings 2013-06-20 14:07:09 +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 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 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 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 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