-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
3.1.4, 3.2.1, 3.3
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-58016-master
As of now, if gradehistorylifetime is set, the grade history tables are getting pruned every cron run. This may be a performance issue when huge tables (e,g. 10 or 20 million rows) are getting pruned every 5 minutes. There's a TODO comment in code in this regard, which looks as follows:
//TODO: do not run this cleanup every cron invocation |
I suggest that this be re-done as a nightly "cleanup" scheduled task.
Will provide with a code change when completed.
- is duplicated by
-
MDL-59168 Fork Grade Tasks (as mentioned in code-todo)
-
- Closed
-