DefaultLicensedUserCountCache should not block page views

XMLWordPrintable

    • 8
    • 2

      UI is not available as long as the DefaultLicensedUserCountCache is still being populated upon startup:

      - com.atlassian.stash.internal.license.DefaultLicenseLimitHandler.getLicenseIfOverLimit() @bci=10, line=51 (Interpreted frame)
       - com.atlassian.stash.internal.license.DefaultLicenseLimitHandler.getMessage() @bci=1, line=39 (Interpreted frame)
       - com.atlassian.stash.internal.license.LicenseServiceImpl.getOverLimitMessage() @bci=4, line=218 (Interpreted frame)
       - com.atlassian.stash.internal.license.LicenseServiceImpl.getStatus() @bci=8, line=225 (Interpreted frame)
      ...
       - com.atlassian.bitbucket.web.conditions.HasLicenseStatusCondition.shouldDisplay(java.util.Map) @bci=4, line=26 (Interpreted frame)
      ...
      

      The HasLicenseStatusCondition should not block (or at least not for so long). We should look at improving it to just assume that everything is OK as long the count has not been determined yet.

            Assignee:
            Unassigned
            Reporter:
            Michael Heemskerk (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: