- 🇷🇴Romania claudiu.cristea Arad 🇷🇴
First, it feels weird that this heavy process (
opigno_module_page_top()
) happens on all pages. - 🇷🇴Romania claudiu.cristea Arad 🇷🇴
As the problem is located in
opigno_module
, let's move this issue there - 🇷🇴Romania claudiu.cristea Arad 🇷🇴
Some statistics: In 500 seconds (set as time limit) it fetched only 1,710 files out of 2,683 from the ZIP archive. Anyway, having a 500 sec time limit is dangerous and was only set for this testing purpose. This process is extremely time consuming.
As,
web/modules/contrib/opigno_module/h5plib/libraries.h5p
is part of the module's codebase, I wonder why this attempt to parse the assets on each page? I think it would be enough to do it:- On module install
- When
libraries.h5p
changes, but then the module can provide an post-update script
Both can benefit from a service to fetch the files from ZIP.
Also, I have a curiosity: Why the the same ZIP file is also stored in the profile? Yes,
web/profiles/contrib/opigno_lms/h5plib/libraries.h5p
, I'm looking at you.I would love to get some feedback from the maintainers.
- 🇫🇷France flocondetoile Lyon
Looks like this issue is fixed in 3.0.9 ? I install a new project based on 3.0.9 without issues.