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

Convert the "Prepare submissions for annotation" scheduled task into adhoc tasks

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_311_STABLE, MOODLE_400_STABLE

      Description

      Having a big number of assignments the "\assignfeedback_editpdf\task\convert_submissions" task starts lagging.

      It also has no limit of records to process so it tries to process the qhole queue in one go, works for enormous amount of time and eventually dies.

      As we can't run more than one instance of the scheduled task at the same time and there is no way to speed it up, it seems to be a good idea to convert submissions using adhoc tasks.

      As part of this enhancement all existing and not processed records in `mdl_assignfeedback_editpdf_queue` will need to be converted into adhoc tasks. Then the table can be deleted.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mikhailgolenkov Mikhail Golenkov
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: