tw: remove leading slash from lock key

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/888/head
Varun Patil 2023-10-22 12:35:56 -07:00
parent 4d19451471
commit cd2743764d
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class TimelineWrite
// Check if we need to lock the file // Check if we need to lock the file
if ($lock) { if ($lock) {
$lockKey = '/memories/'.$file->getId(); $lockKey = 'memories/'.$file->getId();
$lockType = ILockingProvider::LOCK_EXCLUSIVE; $lockType = ILockingProvider::LOCK_EXCLUSIVE;
// Throw directly to caller if we can't get the lock // Throw directly to caller if we can't get the lock