Give up after 10 seconds in SCSS timeout
Else we keep idling for ages which leads to bad UX Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
8f35a66100
commit
88e121d684
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue