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

Upgrade performance: extra calls to purge_all_caches()

XMLWordPrintable

    • MOODLE_23_STABLE

      During the upgrade process, each component that is installed/upgraded calls purge_all_caches() which executes several queries.

      Wondering if it would be safe to call this at the start and end of upgrade_noncore() and remove calls to the upgrade_plugins (and upgrade mod/block/etc)?

      I'd be happy to contribute the fix.

            moodle.com Moodle HQ
            bushido Mark Nielsen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.