Merge pull request #21495 from nextcloud/backport/21483/stable19

[stable19] Give up after 10 seconds in SCSS timeout
This commit is contained in:
Roeland Jago Douma 2020-06-20 16:00:27 +02:00 committed by GitHub
commit c62000c0bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class SCSSCacher {
return $this->injectCssVariablesIfAny(); return $this->injectCssVariablesIfAny();
} }
$this->logger->debug('SCSSCacher: scss cache file locked for '.$lockKey, ['app' => 'core']); $this->logger->debug('SCSSCacher: scss cache file locked for '.$lockKey, ['app' => 'core']);
sleep($retry); sleep(1);
$retry++; $retry++;
} }
$this->logger->debug('SCSSCacher: Giving up scss caching for '.$lockKey, ['app' => 'core']); $this->logger->debug('SCSSCacher: Giving up scss caching for '.$lockKey, ['app' => 'core']);