Browse Source

fix compilation

pull/4863/head
chrislu 1 year ago
parent
commit
322af1fc04
  1. 2
      weed/util/lock_table.go

2
weed/util/lock_table.go

@ -61,7 +61,7 @@ func (lt *LockTable[T]) AcquireLock(intention string, key T, lockType LockType)
}
lt.mu.Unlock()
lock = lt.NewActiveLock(intention)
lock = lt.NewActiveLock(intention, lockType)
// If the lock is held exclusively, wait
entry.mu.Lock()

Loading…
Cancel
Save