DefaultUserAccessor#countLicenseConsumingUsers() goes through users one by one and checks whether they belong to atlassian-addons group. This is extremely inefficient when there are many users. It would be more efficient to retrieve users of atlassian-addons group once.

            [CONFSERVER-34565] Counting license consuming users does not scale

            as per comments.

            Glenn Martin (Inactive) added a comment - as per comments.

            ran soke job, od instance, local instance with large number of users, no issues found.

            Glenn Martin (Inactive) added a comment - ran soke job, od instance, local instance with large number of users, no issues found.

              onevalainen Olli Nevalainen
              onevalainen Olli Nevalainen
              Affected customers:
              0 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: