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

Generated vocabulary configuration should use the core-cache service

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 62
    • Component/s: Vocabularies

      Description

      Currently when a studio project defines a vocabulary it uses the former config pre-6.0 release so the cache config is not taken into account:

      <directory ...>
        <cacheTimeout>3600</cacheTimeout>
        <cacheMaxSize>1000</cacheMaxSize>
      </directory>
      

      See upgrades notes : NXP-14930
      It should looks like

      <extension target="org.nuxeo.ecm.core.cache.CacheService" point="caches">
        <cache name="vocab-name-cache" class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl">
          <option name="maxSize">1000</option>
          <ttl>60</ttl><!-- minutes -->
          <option name="concurrencyLevel">500</option>
        </cache>
        <cache name="vocab-name-cache-without-references" class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl">
          <option name="maxSize">1000</option>
          <ttl>60</ttl><!-- minutes -->
          <option name="concurrencyLevel">500</option>
        </cache>
      <extension>
      
      <directory ...>
        <cacheEntryName>vocab-name-cache</cacheEntryName>
        <cacheEntryWithoutReferencesName>vocab-name-cache-without-references</cacheEntryWithoutReferencesName>
      </directory>
      

        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 - 4 hours
                  4h

                    PagerDuty

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