Merge pull request #21496 from nextcloud/backport/21483/stable18

[stable18] Give up after 10 seconds in SCSS timeout
This commit is contained in:
Roeland Jago Douma 2020-06-20 16:00:47 +02:00 committed by GitHub
commit d24009dc20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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