mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 20:13:33 +00:00
feat(distlock): implement in-memory lease store
This commit is contained in:
@@ -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