mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
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>
This commit is contained in:
parent
2456969b41
commit
9273436534
1 changed files with 0 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue