Infinispan for caching

Zanata uses Infinispan to manage some of its internal data caches. Configuration for these caches happens in JBoss' standalone/configuration/standalone.xml.

The Infinispan configuration will be located inside the following module in standalone.xml:

<subsystem xmlns="urn:jboss:domain:infinispan:1.4">

Keep in mind that the module version may vary depending on your JBoss version.

Configuration for Internal data caches

<cache-container name="zanata" default-cache="default"
    <local-cache name="default">
        <transaction mode="NON_XA"/>
        <eviction strategy="LRU" max-entries="10000"/>
        <expiration max-idle="100000"/>

Please see the JBoss EAP or Wildfly documentation for more options on cache configuration.