summaryrefslogtreecommitdiff
path: root/zookeeper.py
AgeCommit message (Collapse)Author
2022-08-20Adds a releasable and renewable lease subclass.Scott Gasch
2022-08-20Clarify/improve docs around leases and lease reacquisition.Scott Gasch
2022-08-20Add a listener for state changes to zookeeper elections to, hopefully,Scott Gasch
react immediately upon loss of connection. Also modify elections to thread.join(timeout) to react immediately on child thread exit. Also move zk stuff into the core of the decorators so that we don't have one global zk client instance that gets torn down the first time its used.
2022-08-19Break a dependency from zookeeper to config.Scott Gasch
2022-08-19Reduce the doctest lease duration...Scott Gasch
2022-08-19Add zookeeper.py; some handy wrappers for leader election and leases.Scott Gasch