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

redis session uses us instead of ms for retry_interval

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.3
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      https://github.com/moodle/moodle/pull/301/commits/52ebf6f09f87d87846b4347e7d6e8935ec87c007

      shows the proposed fix.

      lib/classes/session/redis.php is using a random delay of 100s-500s for the retry interval. I don't think randomness is needed here, leave it for the outer loop.

      Set to 1s max as per the existing comment.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              donbowman Don Bowman
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: