Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-32365

SeedSitesAndUsersJob can get in a long loop while picking random users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 12.0
    • Component/s: Quartz Scheduler
    • Labels:
      None

      Description

      The Quartz Job SeedSitesAndUsersJob can get stuck in a long loop trying to pick random users.

      The proposed change makes use of Collections.shuffle and then taking a sublist of that which is much more efficient than picking individual users randomly.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                ern Earle R Nietzel
                Reporter:
                ern Earle R Nietzel
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration