Commit Graph
18 Commits
Author SHA1 Message Date
Seth Michael LarsonandGitHub a728aaa491 [7.x] Sort imports with isort and regenerate APIs 2021-01-13 14:21:04 -06:00
Seth Michael LarsonandGitHub b13c7c6217 [7.x] Switch to long Apache-2.0 license header 2020-07-02 13:15:25 -05:00
Seth Michael LarsonandGitHub 9cc48b3e66 Update new APIs in 7.x 2020-05-08 16:07:52 -05:00
Seth Michael LarsonandSeth Michael Larson 8e1798cf31 Apply license header changes and API gen 2020-04-23 14:10:49 -05:00
Alex KahanandHonza Král a2e9f0c807 Closes #1044. Fixing bug with mark_dead in connection pool 2019-10-29 17:01:47 +01:00
Nick LangandGitHub 206f5e2754 Black (#948) 2019-05-10 09:16:33 -06:00
Honza Král 836c6d1933 Introducing DummyConnectionPool for when only 1 connection defined 2014-12-20 00:35:24 +01:00
Honza Král 82a32540d7 Fix race condition in ConnectionPool
Fixes #158
2014-12-20 00:34:42 +01:00
Honza Král 0f0630d8d7 Make sure we always have connections defined 2014-12-08 14:32:52 +01:00
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 30bbb2a0cd Cut off the timeout increases after 5 failures by default
Contrary to popular beliefs there are Python processes in the wild that
run for weeks and increasing the timeout without bound is not useful for
those.
2013-06-14 16:59:36 +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 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 b4ba7433bd Make sure dead connections are handled in a thread-safe manner 2013-05-05 00:36:39 +02:00
Honza Kral 8cd053799e When resurrect happens it shouldn't return the risen connection, just return it to pool 2013-05-03 03:19:49 +02:00
Honza Kral e3c76ecf01 ConnetionPool to hold all the connections
It provides load balancing and keeps track of the status of individual
connections (dead/alive) and penalizes dead connections with a timeout.
2013-05-02 17:54:26 +02:00