-
Bug
-
Resolution: Fixed
-
Blocker
-
3.2.3, 3.3.1, 3.4
-
MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-59154-master -
https://github.com/moodle/moodle/blob/78ab4f741b1ba9922e4a3dd3f4f686f9b671d0de/theme/styles.php#L157 means that the styles.php never locks.
This causes all processes to fight for resources and slows down the SCSS creation as a result.
The accepted values for the $type variable are:
- editor
- all
- all-rtl
See https://github.com/moodle/moodle/blob/78ab4f741b1ba9922e4a3dd3f4f686f9b671d0de/theme/styles.php#L66 ealier in the file where this is enforced.
The value can never be either less, or scss and therefore we currently never lock.
This is really bad for performance on systems with multiple accesses from different users/browsers at once during CSS generation - so basically any non-dev system out there.
- blocks
-
MDL-59161 Look at whether $cache should be disabled if $themerev != $rev
- Closed
-
MDL-59144 As a hosting provider, I want to reset local cache without causing CPU spikes
- Closed
- Discovered while testing
-
MDL-58646 Time to reset caches (compile Boost) recently became 3x slower
- Closed
- Testing discovered
-
MDL-59161 Look at whether $cache should be disabled if $themerev != $rev
- Closed