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
2017-01-20 19:16:28 +00:00
2016-09-22 10:20:50 +02:00
2016-11-18 16:44:36 +08:00
2013-12-19 12:18:35 +01:00
2017-04-19 19:10:58 -07:00
2015-09-17 12:17:45 +00:00

Tooz

Latest Version

Downloads

The Tooz project aims at centralizing the most common distributed primitives like group membership protocol, lock service and leader election by providing a coordination API helping developers to build distributed applications.

Join us

Description
Coordinate distributed systems.
Readme 11 MiB
Languages
Python 99.2%
Shell 0.8%