-
Improvement
-
Resolution: Fixed
-
Minor
-
2.7.18, 2.9.9, 3.0.8, 3.1.4, 3.2.1
-
MOODLE_27_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
wip-
MDL-57785-master -
We have encountered some issues in switching high-volume sites with a lot of SCORM content onto AWS. LMSCommit() appears to refresh the SCORM nav menu every time, and the several DB calls inherent in this script cause the processes to stack up and CPU credits are quickly exhausted. In our testing, response times from prereqs.php were even longer than datamodel.php. Since most SCORM packages exported from authorware are not multi-sco, and especially since there should be no need to refresh the nav menu when it is not displayed, this improvement only calls prereqs.php to refresh the nav menu if the nav menu is displayed. On the client site where this patch is applied, this has cut the CPU load per LMSCommit() call roughly in half. I'm making the fix only for SCORM 1.2 since the 1.3 api appears not to call nav refresh within commit.