Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4201

Don't specify cache class in generated XML for vocabularies for TP 9.3+

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 69
    • Component/s: Vocabularies

      Description

      Currently a cache defined by Studio contains a class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl" specification:

          <cache name="vocab-WorkflowType-cache" class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">500</option>
            <ttl>60</ttl>
          </cache>
      

      After NXP-22786 this becomes unneeded as all caches will be in-memory and anyway what's specified is already the default.

      So the class element should not be generated anymore (in VocabularyFeatureBuilder) for Nuxeo >= 9.3.

      (I hope a future NXP fix will make all directory caches implicit and not needing explicit configuration.)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.