perf: reduce calls to get_course_by_id
CoursewareMeta alredy initializes self.course, so there's no need to separately call get_course_by_id for various attributes. This was resulting in separate modulestore fetches that would pull down the structure document and re-do all the expensive top-level course queries in modulestore.
Please register or sign in to comment