This repository has been archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
Add watching dog to extend TTL #30
Comments
|
@eedalong I can't use Java because I'm writing a server with Python (the deep reason is PIL is convient in Python and Java do not have a such useful lib). And I think it's also tricky to stop/kill the thread, I think we should use context manager to make a high level API to manage these troublism things like we described in #25 . If you have intention to make this high level API, I'd like to make a PR, how about you idea? |
@TsingJyujing check this out https://zhuanlan.zhihu.com/p/101913195 |
Pottery’s implementation of Redlock has an |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'd like to implement a function like we can extend a lock every N secs, the purpose to do that is designed for some transaction that can't control the timeout, but we also want the lock be released while the server is down.
Do you have any advice?
The text was updated successfully, but these errors were encountered: