1. 12 Dec, 2017 1 commit
    • Marcus Boon's avatar
      MDL-59866 session: Add retry for redis sessions · f8e2383b
      Marcus Boon authored
      There is an edge case whereby redis will fail
      to accept connections on the first try but
      retrying the connection seems to make it work
      Included in this commit:
      * Retry functionality in the session init
  2. 27 Mar, 2017 1 commit
  3. 25 Jan, 2017 1 commit
  4. 10 Nov, 2016 1 commit
    • Adam Olley's avatar
      MDL-56823 session: redis sessions don't honour $CFG->sessiontimeout · d456bd42
      Adam Olley authored
      The redis session handler doesn't use the sessiontimeout config setting
      to determine session lifetime.
      It has a lock expiry, which is set to 7200 (or a config setting) that is
      used to determine how long a lock is held onto, but that should be
      distinct from the session timeout.
  5. 04 Aug, 2016 1 commit
  6. 06 May, 2016 1 commit
  7. 18 Apr, 2016 1 commit
    • Nicholas Hoobin's avatar
      MDL-53599 session: Added a session_class_handler for Redis. · c5211882
      Nicholas Hoobin authored
      It is now possible to set up Redis as a session handler for Moodle.
      Ensure that the phpredis extension is enabled and working on your sever.
      Please place the following lines in config.php
      $CFG->session_handler_class = '\core\session\redis';
      $CFG->session_redis_save_path = 'tcp://';
      To determine if it has been set correctly, navigate to
      $CFG->wwwroot/admin/phpinfo.php and find following the strings in the
      session block,
      session.save_handler = redis
      session.save_path = tcp://