bdecentgmbh / moodle-local_learningtools

Learning Tools provides the learner with a set of useful tools, like bookmarks or notes. 
https://bdecent.de/product/learning-tools/
GNU General Public License v3.0
3 stars 3 forks source link

Time Management: Enrolled user limit? Times out. #27

Closed jonathanpattison-sudo closed 1 week ago

jonathanpattison-sudo commented 1 month ago

Is there a limit on the number of enrolled users the Time Management plugin can handle? We used it on a course with more than 15000 enrolled users (not all active) and it times out. The course never loads.

stefanscholz commented 1 month ago

Hi @jonathanpattison-sudo , we've never tested it with a course of that size; so while we don't have a technical limit that im aware of, I'm not surprised that it times out. For every user, and for every activity, dates need to be generated. That's a ton of data base request, both read and write.

In order to support such a large course, we'll probably need to implement something to handle the generation of dates asynchronously, rather than doing it all at once.

Happy to add that to the improvements for the next release!

How many activities have you configured on your attempt?

jonathanpattison-sudo commented 1 month ago

I didn't have a chance to configure anything! Please add it to the improvements list.

stefanscholz commented 1 week ago

Note for anybody that considers using Time Management: We're currently working on a complete re-write of Time Management. The new version will handle large courses well, but if you operate at scale, please test it before using it in production. If in doubt, ask us, we're happy to help.

Closing this issue because it will be fixed in the new version of Time Management.