It provides a LockManager based on the redis database, which implements a distributed locks that automatically renews the lease in a timely manner. The lease is attached to a TTL (time to live interval). When the server goes down or when the context is canceled, the locks created on top of the lease, will be gone with the lease.
-
Notifications
You must be signed in to change notification settings - Fork 2
DoNewsCode/core-locks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published