Skip to content

Commit

Permalink
Fix deadlock in SCSSCacher
Browse files Browse the repository at this point in the history
Fixes nextcloud#15794 (comment)

Signed-off-by: Leo Le Bouter <lle-bout@zaclys.net>
  • Loading branch information
llebout committed May 20, 2020
1 parent 0a45f44 commit dd29977
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/Template/SCSSCacher.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dd29977

Please sign in to comment.