diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-10-15 23:48:26 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-10-16 11:30:10 +0000 |
commit | f962fdf39ada6df47d31fbc6fe969bade5c039b6 (patch) | |
tree | 2958f259023e255ac55642757b92ee9c10c51ac9 /lib | |
parent | 6f21fd14bf2ec1a16ed0d4f7e4a37020c1c98e72 (diff) | |
download | nextcloud-server-f962fdf39ada6df47d31fbc6fe969bade5c039b6.tar.gz nextcloud-server-f962fdf39ada6df47d31fbc6fe969bade5c039b6.zip |
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.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index cf156942592..597d4323d3c 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(); } |