-
Improvement
-
Resolution: Fixed
-
Minor
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_34_STABLE
-
MDL-60958-master -
The repeat collection constructor loads the parent record to check that the given id corresponds to a calendar event record however this results in an addition DB query for every event that is loaded, even if the event collection isn't used.
We can just skip doing this query and trust the calling code to load the correct thing (especially since it's all packed into the factory anyway) and only load the parent record when it's required.
- will help resolve
-
MDL-60402 Calendar slow performance loading contexts with large number of courses
-
- Closed
-