mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
feat(distlock): implement in-memory lease store
This commit is contained in:
1 parent
5a956e72de
commit
a5ab6e3788
4 files changed
+403
No files matched your search
@@ -0,0 +1,5 @@
|
||||
// Package distlock provides distributed, automatically renewed leases across Uncloud machines.
|
||||
//
|
||||
// The initial in-memory store does not preserve leases across machine daemon restarts. Cluster membership must remain
|
||||
// stable while leases are active. Callers must stop protected work when the context returned by Lease.Context is done.
|
||||
package distlock
|
||||
Reference in new issue
Block a user