Support » Plugin: Sensei LMS - Online Courses, Quizzes, & Learning » Course Enrollment Calculation Job

  • Resolved mdifelice


    We noticed that each time we update the plugin an Action Scheduler process that recalculates users’ courses enrolment is run. The problem is that our site has over 50K users and this process starts consuming a lot of memory, eventually bringing the site down.

    I believe the problem is the Action Scheduler that is not freeing resources properly because I do see that your process runs queries with batches of 20 users (which can be modified using the sensei_enrolment_learner_calculation_job_batch_size filter). That code is located inside the fileincludes/enrolment/class-sensei-enrolment-learner-calculation-jon.php, line 71.

    My question is why that process should run each time the plugin is updated. Maybe if we know the purpose of such a decision, we may find a way to tune that process.


Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Course Enrollment Calculation Job’ is closed to new replies.