tooz/tooz/drivers
Julien Danjou ee66b6e4e4 {my,pg}sql: close connections when out of retry
The connection is supposedly closed when blocking is False and the lock is not
acquired. Or when an exception happens in the locking code.

But if blocking is e.g. 5 seconds, then RetryError is raised but without
closing any connection at the end. This fixes that.

Change-Id: I7b40e466fe5fc01ee3f8c012f765aafca9ce716a
2017-06-16 11:40:42 +00:00
..
__init__.py First commit of Tooz 2013-12-19 12:18:35 +01:00
consul.py consul: remove unused executor 2017-06-06 18:31:02 +02:00
etcd.py etcd: fix acquire(blocking=True) on request exception 2017-05-19 10:50:06 +02:00
etcd3.py etcd3: use discard() rather than remove() 2017-05-22 14:27:09 +02:00
etcd3gw.py Separate etcd3gw driver that uses the etcd3 grpc gateway 2017-05-22 14:33:44 +02:00
file.py coordination: factorize common async result futures code 2017-05-09 21:30:33 -04:00
ipc.py coordination: factorize common async result futures code 2017-05-09 21:30:33 -04:00
memcached.py coordination: factorize common async result futures code 2017-05-09 21:30:33 -04:00
mysql.py {my,pg}sql: close connections when out of retry 2017-06-16 11:40:42 +00:00
pgsql.py {my,pg}sql: close connections when out of retry 2017-06-16 11:40:42 +00:00
redis.py coordination: factorize common async result futures code 2017-05-09 21:30:33 -04:00
zake.py Expose timeout capabilities and use them for tests 2016-06-09 10:40:16 +02:00
zookeeper.py Add shared filelock 2017-03-21 11:27:24 +08:00