Merge pull request #23510 from nextcloud/backport/23488/stable20

[stable20] SCSSCacher - Lock should not be removed
This commit is contained in:
Morris Jobke 2020-10-16 14:55:47 +02:00 committed by GitHub
commit 130689ac2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -169,7 +169,6 @@ class SCSSCacher {
$this->logger->debug('SCSSCacher::process check in while loop follows', ['app' => 'scss_cacher']); $this->logger->debug('SCSSCacher::process check in while loop follows', ['app' => 'scss_cacher']);
if (!$this->variablesChanged() && $this->isCached($fileNameCSS, $app)) { if (!$this->variablesChanged() && $this->isCached($fileNameCSS, $app)) {
// Inject icons vars css if any // 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']); $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(); return $this->injectCssVariablesIfAny();
} }