diff options
author | Peter Zhang <peter@innocraft.com> | 2021-11-15 06:31:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 06:31:38 +0300 |
commit | ae761a28c87d0ef57c1835c14463ac6363b0bd36 (patch) | |
tree | 097cf442077764e557183280703635991750b810 /core/Concurrency | |
parent | e5b9e3c5e070c5cf1360b41112e19119162d94a7 (diff) |
fix concurrency archiving overview goals (#18243)
Diffstat (limited to 'core/Concurrency')
-rw-r--r-- | core/Concurrency/Lock.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Concurrency/Lock.php b/core/Concurrency/Lock.php index 4e8a407493..9d3f72e1d1 100644 --- a/core/Concurrency/Lock.php +++ b/core/Concurrency/Lock.php @@ -90,7 +90,6 @@ class Lock $lockValue = substr(Common::generateUniqId(), 0, 12); $locked = $this->backend->setIfNotExists($this->lockKey, $lockValue, $ttlInSeconds); - if ($locked) { $this->lockValue = $lockValue; $this->ttlUsed = $ttlInSeconds; |