Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhang <peter@innocraft.com>2021-11-15 06:31:38 +0300
committerGitHub <noreply@github.com>2021-11-15 06:31:38 +0300
commitae761a28c87d0ef57c1835c14463ac6363b0bd36 (patch)
tree097cf442077764e557183280703635991750b810 /core/Concurrency
parente5b9e3c5e070c5cf1360b41112e19119162d94a7 (diff)
fix concurrency archiving overview goals (#18243)
Diffstat (limited to 'core/Concurrency')
-rw-r--r--core/Concurrency/Lock.php1
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;