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, Sara Arjona (@sarjona), Víctor Déniz Falcón, Matteo Scaramuccia, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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