Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23754 Performance improvements META
  3. MDL-25289

cron_setup_user() uses ugly hack to create global PAGE

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      The problem is that cron code should accept PAGE as parameter, we should also cache it somehow. The OUTPUT operations in cron are also far from perfect.

      The is most probably increasing server load, db access and the text output is not much reliable there.

      We should imo spend more time on rendering in cron, but unfortunately it wil lrequire changes in API and modules....

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skodak Petr Skoda
              Participants:
              Component watchers:
              Matteo Scaramuccia, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: