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

Handling slow question stats calculations

XMLWordPrintable

      "We don't want the back-end code to do UI things like display a progress bar, however, we do want to be able to output progress information during slow calculations."

      "I think the right way to abstract it is to use the progress_trace class from weblib.php. We need to add a progress_bar_progress_trace subclass. If the slow calculations take a progress_trace (defaulting to a null_progress_trace), then the calling code can decide what sort of output is appropriate."

            jamiesensei Jamie Pratt (Inactive)
            jamiesensei Jamie Pratt (Inactive)
            Tim Hunt Tim Hunt
            Marina Glancy Marina Glancy
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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