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

ScriptRunner event handlers loading slowly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 5.2.6
    • 5.4.4, 5.4.5
    • None
    • None
    • Sprint 37 - Ends Jan 29
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: