Background
The Growth team is currently (September 2021) building the mentor dashboard, which allows mentors to view information about their mentees, such as, their number of (reverted) edits. Because calculating those numbers take long time, the data is only updated daily (sequentially for all mentor dashboard enabled wikis).
Problem
If we enable mentor dashboard backend on all Growth wikis, the updating script will very likely take more than 24 hours to finish. That's because we're now at English Wikipedia and other large wikis.
It's not a good idea to run a script taking >24 hours to run daily. As such, before deploying to all Growth wikis, the updateMenteeData.php script should be changed to run faster.
Possible solutions
One solution would be to run multiple wikis in parallel (running different DB sections in parallel should be perfectly okay, as it's the database queries that take long -- the script does not take mwmaint's resources).
We can also make updateMenteeData.php run faster, either by optimizing the SQL queries themselves if possible, or by making other changes to its code. For instance, currently, it likely calculates last active timestamp twice, while it could only happen once for each update.