Uh oh!
There was an error while loading. Please reload this page.
Lock SCSS so we only run 1 job at a time - #15794
Conversation
ChristophWurst
commented
Jun 19, 2019
Has anybody been able to reproduce this locally yet? |
skjnldsv
commented
Jun 19, 2019
@ChristophWurst I tried running multiple same instance after a css cache clear and I got no issue whatsoever :) |
ChristophWurst
commented
Jun 19, 2019
That would be awesome! |
skjnldsv
commented
Jun 20, 2019
I fixed a few stuff. Also, why is deleting the cache taking so long? @rullzer@nickvergessen@juliushaertl ? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
skjnldsv
commented
Jun 25, 2019
@rullzer for you :) |
MorrisJobke
commented
Jul 3, 2019
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is bit hacky but a start to lock the SCSS compiler properly Retry during 10s then give up Properly get error message Do not clear locks and properly debug scss caching Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
rullzer
commented
Jul 12, 2019
Ok lets do this! |
MorrisJobke
commented
Jul 25, 2019
/backport to stable16 |
backport to stable16 in #16541 |
@rullzer Hello, this is causing extreme slowdowns in production because the lock never gets acquired. I think it's never a good idea to sleep in a PHP script because users will be waiting, this totals to 60 seconds of wait time on every single page in Nextcloud, my users are going crazy. I am on 18.0.4 |
Fixesnextcloud#15794 (comment) Signed-off-by: Leo Le Bouter <lle-bout@zaclys.net>

This is bit hacky but a start to lock the SCSS compiler properly
Right now it will just fail if the file is locked. This is suboptimal. But for the POC this is fine IMO.
Todo:
@ChristophWurst@MorrisJobke as discussed