summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-06-19 21:26:26 +0200
committerGitHub <noreply@github.com>2020-06-19 21:26:26 +0200
commit59093abfaf578b4a677bbcbf4684c2928cd5e966 (patch)
tree2c0f84f895cb3daf54895a0e9f302bd5c07a150e
parent976dbf62412d9e85f57533672b80793b585f0011 (diff)
parent4768526b81e1c01f89d2ca4b741503dcbddf4a4e (diff)
downloadnextcloud-server-59093abfaf578b4a677bbcbf4684c2928cd5e966.tar.gz
nextcloud-server-59093abfaf578b4a677bbcbf4684c2928cd5e966.zip
Merge pull request #21483 from nextcloud/fix/scss/timeout
Give up after 10 seconds in SCSS timeout
-rw-r--r--lib/private/Template/SCSSCacher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php
index 427588ddddf..120ed585e16 100644
--- a/lib/private/Template/SCSSCacher.php
+++ b/lib/private/Template/SCSSCacher.php
@@ -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']);