Autocreate Group failing max execution time

Autocreate Group failing max execution time

by Michael Hughes -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Just wondering if anyone else had tried this out?

I generated a Large class with 10K users, and then tried to auto-create groups using 15 members per group.

This then failed with a PHP max execution time (120secs) error.

In the core_php_time_limit class there is a function to raise() this (extend it really), and doesn't appear to be called during this process, and that there are cases where it *should* be. 

The back up process appears to do this, so it seems odd that the group autocreate doesn't especially when it doesn't know how long it may take to complete the operation.

Anyone else had any run ins with this?

Average of ratings: -