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

improve perf by not locking guest and not-logged-in sessions and skipping record updates when not necessary

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1/ try working with moodle as not-logged-in-user (mostly frontapge only)
      2/ try working as guest
      3/ try logging in, working, logging out, login in, ...
      4/ enable new setting $CFG->sessionlockloggedinonly = 1; and repeat testing 1-3

      Show
      1/ try working with moodle as not-logged-in-user (mostly frontapge only) 2/ try working as guest 3/ try logging in, working, logging out, login in, ... 4/ enable new setting $CFG->sessionlockloggedinonly = 1; and repeat testing 1-3
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w47_MDL-36211_m24_sesslocking

      Description

      I suppose it should be relatively safe to not lock guest and not-logged-in sessions.

      I am going to implement it as a config.php only setting for now.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Peer reviewer:
              Sam Hemelryk
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12