Skip to content
Snippets Groups Projects
  • Michael Roytman's avatar
    MST-675: QuerySet Performance for StudentOnboardingStatusByCourse Endpoint (#26789) · eb98d7fa
    Michael Roytman authored
    * 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
    Unverified
    eb98d7fa