Files
edx-platform/lms/djangoapps/verify_student
David Ormsbee a712f1f93b Remove full table scan of VerificationDeadline. (#21119)
* Remove full table scan of VerificationDeadline.

Before this commit, we were doing a full table scan of
student_verificationdeadline, loading the results into a giant
dict, and reading/writing that to the cache. This was fine when the
code was introduced and there were dozens of courses, but now that
we're over 12K courses, it's becoming a major performance issue for
the Student Dashboard.

This uses a subquery to the course enrollment table so that we're
only ever pulling back the deadlines to a student's enrolled courses
for any given request. It removes the cache access entirely.
2019-07-17 10:25:08 -04:00
..
2019-05-15 14:46:19 -04:00
2018-06-25 12:08:54 +05:00
2017-06-11 21:48:06 -04:00
2019-02-13 10:35:56 -05:00
2019-02-13 10:35:56 -05:00
2017-11-07 14:17:54 -05:00