From fdb936cb8d051ee1fbe8370679cf215dfe014165 Mon Sep 17 00:00:00 2001 From: leo-lb Date: Wed, 20 May 2020 18:24:43 +0200 Subject: [PATCH] Fix deadlock in SCSSCacher Fixes https://github.com/nextcloud/server/pull/15794#issuecomment-631573831 --- lib/private/Template/SCSSCacher.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index 427588ddddf2f..487e5664c294e 100644 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -175,6 +175,10 @@ public function process(string $root, string $file, string $app): bool { $retry++; } $this->logger->debug('SCSSCacher: Giving up scss caching for '.$lockKey, ['app' => 'core']); + + // Cleaning lock + $this->lockingCache->remove($lockKey); + return false; }