Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dose Mutex lock with ttl? #6111

Closed
xiaoyulei opened this issue Aug 5, 2016 · 2 comments
Closed

Dose Mutex lock with ttl? #6111

xiaoyulei opened this issue Aug 5, 2016 · 2 comments

Comments

@xiaoyulei
Copy link
Contributor

I see the document https://godoc.org/github.com/coreos/etcd/clientv3/concurrency.
etcd clientv3 has its own Mutex, but there is not ttl for Mutex.Lock().

@heyitsanthony
Copy link
Contributor

@YuleiXiao yes, the ttl is attached to the client's Session. It's currently hard-coded to 1 minute, there's an open issue to make it configurable (#5989)

@xiaoyulei
Copy link
Contributor Author

@heyitsanthony OK, thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants