Skip to content

Resolves #78, Implements chunked deletes in event observers#79

Open
1katoda wants to merge 1 commit intoremotelearner:MOODLE_401_STABLEfrom
1katoda:78-fix-slow-delete-in-event-observer
Open

Resolves #78, Implements chunked deletes in event observers#79
1katoda wants to merge 1 commit intoremotelearner:MOODLE_401_STABLEfrom
1katoda:78-fix-slow-delete-in-event-observer

Conversation

@1katoda
Copy link

@1katoda 1katoda commented Sep 7, 2023

As described in the issue #78 , this PR fixes Moodle timeouts with manual quiz grading, as DELETE queries on large InnoDB databases (~5.8M in our case) take too long.

With this PR, the records get deleted in chunks of 10000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant