Browse Source

comments

pull/4855/head
chrislu 1 year ago
parent
commit
3b50139f68
  1. 2
      weed/cluster/lock_manager/lock_manager.go

2
weed/cluster/lock_manager/lock_manager.go

@ -12,7 +12,7 @@ var LockErrorNonEmptyTokenOnExpiredLock = fmt.Errorf("lock: non-empty token on a
var LockErrorTokenMismatch = fmt.Errorf("lock: token mismatch") var LockErrorTokenMismatch = fmt.Errorf("lock: token mismatch")
var UnlockErrorTokenMismatch = fmt.Errorf("unlock: token mismatch") var UnlockErrorTokenMismatch = fmt.Errorf("unlock: token mismatch")
// LockManager lock manager
// LockManager local lock manager, used by distributed lock manager
type LockManager struct { type LockManager struct {
locks *xsync.MapOf[string, *Lock] locks *xsync.MapOf[string, *Lock]
} }

Loading…
Cancel
Save