Hi Moodle community,
I'm encountering an unusual issue in a Moodle 4.3.1 instance (build 20231211).
Whenever I enable course completion in a course, every time I attempt to edit an activity such as a forum, task, quiz, etc., after clicking the save button, the page takes approximately 1 minute to load. This happens consistently, regardless of any changes made in the edit form of the activity and only when updating, not when I add the activity.
If course completion is disabled, the page loads in about 3-4 seconds after saving changes.
I've attempted to replicate this behavior in a test environment with debugging enabled, but without success. I've also searched for recent posts or tracker reports related to the course completion feature, but haven't found anything relevant.
My next step will be to compare my production and test environments to determine whether this issue occurs in production but not in the test environment.
In the meantime, I wanted to inquire if anyone else has experienced a similar situation.
Any assistance would be greatly appreciated.
Thanks and regards,
Tomas.