Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38189 META Backup/restore issues with large courses
  3. MDL-42084

Improve time limit handling (including configuration for front-end servers)

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1 Set the new setting (maxtimelimit on admin page Server/Performance) to 1
      2 If necessary, turn on debug display so you can see error messages
      3 If you don't already have one, create an 'M' test course.
      4 Perform a backup of the course using default settings

      EXPECTED:

      Error occurs, probably at about 98%, "Fatal error: Maximum execution time of 1 second exceeded"

      5 Set the setting to 0, default
      6 Perform the same backup

      EXPECTED: Backup completes successfully

      Show
      1 Set the new setting (maxtimelimit on admin page Server/Performance) to 1 2 If necessary, turn on debug display so you can see error messages 3 If you don't already have one, create an 'M' test course. 4 Perform a backup of the course using default settings EXPECTED: Error occurs, probably at about 98%, "Fatal error: Maximum execution time of 1 second exceeded" 5 Set the setting to 0, default 6 Perform the same backup EXPECTED: Backup completes successfully
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-42084-master

      Description

      In progress() calls, set_time_limit() is call with a constant, but until there is well known coverage with progress(), this can cause timeouts that would not be easily fixable (and could cause regressive behavior in some cases).

      This should be configurable.

        Attachments

          Activity

            People

            Assignee:
            quen Sam Marshall
            Reporter:
            emerrill Eric Merrill
            Peer reviewer:
            Andrew Davis
            Integrator:
            Sam Hemelryk
            Tester:
            Petr Skoda
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Dates

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