Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59168

Fork Grade Tasks (as mentioned in code-todo)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.1.6, 3.2.3, 3.3
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE

      Description

      As described in /lib/gradelib.php on lines 1560 (MOODLE_33_STABLE)

      the TODO for "do not run this cleanup every cron invocation" appears to fire gradehistory cleanup tasks on every CRON instance. 

      Where cases of sites include large numbers of Grade History records - this will cause Grade History Clean-Up tasks to fire every-time the cron fires at the system-level. This can cause large performance lag in some site.

      Either, this should be wrapped with a "Run Task X per day" wrapper or forked out of the cron task - into its own cron task.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dustinbrisebois Dustin Brisebois
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: