Merge pull request #21483 from nextcloud/fix/scss/timeout

Give up after 10 seconds in SCSS timeout
This commit is contained in:
Roeland Jago Douma 2020-06-19 21:26:26 +02:00 committed by GitHub
commit 59093abfaf
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']);