tw: remove leading slash from lock key
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/888/head
parent
4d19451471
commit
cd2743764d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue