werf / lockgate

Lockgate is a cross-platform distributed locking library for Go. Supports distributed locks backed by Kubernetes or HTTP lock server. Supports conventional OS file locks.
Apache License 2.0
256 stars 15 forks source link

Use context for timeouts #28

Open distorhead opened 4 years ago

distorhead commented 4 years ago

Maybe lockgate should use golang native context objects to implement timeouts.

rfyiamcool commented 4 years ago

+1

jianzhangbjz commented 1 year ago

+1