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

Handling slow question stats calculations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7, DEV backlog
    • Component/s: Questions
    • Labels:

      Description

      "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."

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/May/14