Skip to content
Snippets Groups Projects
Unverified Commit eb98d7fa authored by Michael Roytman's avatar Michael Roytman Committed by GitHub
Browse files

MST-675: QuerySet Performance for StudentOnboardingStatusByCourse Endpoint (#26789)

* The original use of user.has_perm('can_take_proctored_exam') in the get_active_enrollments_for_course method had very poor performance when used for multiple learners. The permission is not designed for use in bulk operations. It was being called for each user in a loop by edx-proctoring, resulting in many queries to the database. This lead to timeouts on the client. This change exposes a new service endpoint that performs this permission checking in the database, resulting in one single query to the necessary LMS SQL tables and many fewer queries to the modulestore.

* bump version of edx-proctoring to 3.7.3
parent 877e8f1e
Branches
Tags release-2020-05-26-15.05
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment