Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23092

Accessing a page in /view/ with a guest user can cause a useless datase query to count users

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      A listener is in charge of starting the DW when it's not been run yet. Problem is that it's checking if the current user is allowed to access it (which can be expensive if the user is guest and there are a lot of users) before checking if it was actually run already.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: