Calling ./manage.py lms waffle_flag --list so many times causes the MFE initialisation step to take a very long time, because ./manage.py lms is very slow. We avoid this by listing existing waffle flags in a temporary file.
On an already initialized system, tutor local do init --limit=mfe
drops from 3min 27s to 25s.
Calling
./manage.py lms waffle_flag --list
so many times causes the MFE initialisation step to take a very long time, because./manage.py lms
is very slow. We avoid this by listing existing waffle flags in a temporary file.On an already initialized system,
tutor local do init --limit=mfe
drops from 3min 27s to 25s.