Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38087

initial search call extremely slow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • None

      After a restart of Jenkins, a refresh of the blueocean UI causes a call to the following endpoint:

      <Jenkins URL>/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26
      

      The very first time this runs it is SUPER slow - irrespective of how long the instance has been up and running.

      I have a 60s timeout on my http frontend - and it hits this and the frontend returns a 504.

      The second time I reload the UI, it takes ~12s and return 11kB of information (the instance is relatively small).

            Unassigned Unassigned
            bwalding Ben Walding
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: