diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-10-15 23:48:26 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-10-16 10:02:18 +0200 |
commit | 927343653447461cd4e6d869e8abfd40a70a4bd0 (patch) | |
tree | 261c752046cbff86e6b7d464cde335cda03c216b /lib/private/Template/SCSSCacher.php | |
parent | 2456969b4121196f7578518a8f1bf5314bb21fc9 (diff) | |
download | nextcloud-server-927343653447461cd4e6d869e8abfd40a70a4bd0.tar.gz nextcloud-server-927343653447461cd4e6d869e8abfd40a70a4bd0.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/private/Template/SCSSCacher.php')
-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 08400fd8c72..d2c04a4a85a 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(); } |