Add a queue for course/lesson status deletion

Created on 5 August 2024, 3 months ago
Updated 26 August 2024, 3 months ago

Problem/Motivation

lms_lms_course_status_delete() loads every status and deletes them directly, this could cause performance/scaling issues where a single course has thousands of participants.

We should probably put the course status deletion into a queue, then the queue runner can delete the course statuses (either loading in chunks and deleting or maybe even a secondary queue).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Activities and answers

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024