Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-312

ScriptRunner event handlers loading slowly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.2.6
    • Fix Version/s: 5.4.4, 5.4.5
    • Labels:
      None
    • Sprint:
      Sprint 37 - Ends Jan 29
    • Critical Points:
      0.8

      Description

      Event handlers load slowly when you have a mixture of admin and per repository items setup.

      This is because for each item we get a specific list of events depending on which of the two it is.

      This means calling it for an admin item then calling it for a per repository item will evict the admin item events from the cache and the list of events will be recalculated.

      We should split the events that are to be cached into per repo and admin level ones and cache these, so the list of events will only ever be calculated on the first call.

        Attachments

          Activity

            People

            Assignee:
            amarkham Adam Markham
            Reporter:
            amarkham Adam Markham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: