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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-10-16 00:48:26 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-10-16 14:32:27 +0300
commitcf26392b98f3a0a4ed422f8ae6e24fd921134f34 (patch)
tree346637cd5601d5cbf032533b48dc1d3a2270a88a /lib
parent6a1cac620ed4f87e70f8dd01ac3cf80b75489c44 (diff)
SCSSCacher - Lock should not be removed
This is within the failed lock acquiring branch. So the lock is free by another process and should not be removed because the cached file (that was created by the process having the lock) appeared on the filesystem. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Template/SCSSCacher.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php
index ca9ad8685a6..9be8cb7b59d 100644
--- a/lib/private/Template/SCSSCacher.php
+++ b/lib/private/Template/SCSSCacher.php
@@ -169,7 +169,6 @@ class SCSSCacher {
$this->logger->debug('SCSSCacher::process check in while loop follows', ['app' => 'scss_cacher']);
if (!$this->variablesChanged() && $this->isCached($fileNameCSS, $app)) {
// Inject icons vars css if any
- $this->lockingCache->remove($lockKey);
$this->logger->debug("SCSSCacher::process cached file for app '$app' and file '$fileNameCSS' is now available after $retry s. Moving on...", ['app' => 'scss_cacher']);
return $this->injectCssVariablesIfAny();
}