overhangio / tutor-mfe

This plugin makes it possible to easily add micro frontend (MFE) applications on top of an Open edX platform that runs with Tutor.
GNU Affero General Public License v3.0
22 stars 95 forks source link

feat: faster init by avoiding repeated waffle flag listing #219

Closed regisb closed 3 months ago

regisb commented 3 months ago

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.

regisb commented 3 months ago

I have added some stats to the git message.