%PDF- %PDF-
| Direktori : /proc/self/root/data/old/home/stash/atlassian-stash/WEB-INF/classes/ |
| Current File : //proc/self/root/data/old/home/stash/atlassian-stash/WEB-INF/classes/ehcache.xml |
<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false">
<diskStore path="java.io.tmpdir"/>
<!--
Mandatory Default Cache configuration. These settings will be applied to caches
created programmatically using CacheManager.add(String cacheName)
-->
<defaultCache
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
overflowToDisk="true"
maxElementsOnDisk="10000000"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="120"
memoryStoreEvictionPolicy="LRU"
/>
<!-- Query caches -->
<cache name="org.hibernate.cache.internal.StandardQueryCache"
eternal="false"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
maxElementsInMemory="100"
overflowToDisk="false"
maxElementsOnDisk="1000"
memoryStoreEvictionPolicy="LFU"/>
<cache name="org.hibernate.cache.spi.UpdateTimestampsCache"
eternal="true"
maxElementsInMemory="1500"
overflowToDisk="false"/>
<cache name="query.groupMemberships"
eternal="false"
timeToIdleSeconds="600"
timeToLiveSeconds="600"
maxElementsInMemory="1000"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="query.permissions"
eternal="false"
timeToIdleSeconds="600"
timeToLiveSeconds="600"
maxElementsInMemory="5000"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="query.projects"
eternal="false"
timeToIdleSeconds="600"
timeToLiveSeconds="600"
maxElementsInMemory="500"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="query.repositoriesByHierarchy"
eternal="false"
timeToIdleSeconds="6000"
timeToLiveSeconds="6000"
maxElementsInMemory="500"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="query.repositoryBySlug"
eternal="false"
timeToIdleSeconds="6000"
timeToLiveSeconds="6000"
maxElementsInMemory="500"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="query.pullRequestCountByUser"
eternal="false"
timeToIdleSeconds="3600"
timeToLiveSeconds="3600"
maxElementsInMemory="1000"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<!--
Note, the size of the following cache should match the
com.atlassian.stash.internal.project.InternalProject entity cache
-->
<cache name="query.publicRepositoryCountByProject"
eternal="false"
maxElementsInMemory="250"
timeToIdleSeconds="1800"
timeToLiveSeconds="1800"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<!-- ENTITY Caches -->
<cache name="com.atlassian.crowd.model.application.ApplicationImpl"
eternal="true"
maxElementsInMemory="10"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.application.ApplicationImpl.attributes"
eternal="true"
maxElementsInMemory="50"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.application.ApplicationImpl.directoryMappings"
eternal="true"
maxElementsInMemory="50"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.application.ApplicationImpl.remoteAddresses"
eternal="true"
maxElementsInMemory="50"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.application.DirectoryMapping"
eternal="true"
maxElementsInMemory="150"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.application.DirectoryMapping.authorisedGroups"
eternal="true"
maxElementsInMemory="150"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.application.DirectoryMapping.allowedOperations"
eternal="true"
maxElementsInMemory="150"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.application.GroupMapping"
eternal="true"
maxElementsInMemory="150"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.directory.DirectoryImpl"
eternal="true"
maxElementsInMemory="50"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.property.Property"
eternal="true"
maxElementsInMemory="250"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.directory.DirectoryImpl.allowedOperations"
eternal="true"
maxElementsInMemory="250"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.directory.DirectoryImpl.attributes"
eternal="true"
maxElementsInMemory="250"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.user.InternalUser"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="1800"
timeToLiveSeconds="1800"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.crowd.model.user.InternalUser.credentialRecords"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="1800"
timeToLiveSeconds="1800"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.plugin.PluginSetting"
eternal="true"
maxElementsInMemory="150"
maxElementsOnDisk="500"
overflowToDisk="true"
memoryStoreEvictionPolicy="LFU"/>
<!-- The cache for InternalActivity also controls all of its joined subtypes -->
<cache name="com.atlassian.stash.internal.activity.InternalActivity"
eternal="false"
maxElementsInMemory="1000"
timeToIdleSeconds="1800"
timeToLiveSeconds="3600"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.pull.InternalPullRequestRescopeActivity.commits"
eternal="false"
maxElementsInMemory="2500"
timeToIdleSeconds="600"
timeToLiveSeconds="1800"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.repository.InternalRepositoryPushActivity.refChanges"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="60"
timeToLiveSeconds="60"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<!-- Idle one hour, live 4 -->
<cache name="com.atlassian.stash.internal.commit.InternalCommitDiscussion"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="3600"
timeToLiveSeconds="14400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.commit.InternalCommitDiscussion.participants"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="3600"
timeToLiveSeconds="14400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.commit.InternalCommitDiscussion.watchers"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="3600"
timeToLiveSeconds="14400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.commit.InternalCommitDiscussionParticipant"
eternal="false"
maxElementsInMemory="2000"
timeToIdleSeconds="3600"
timeToLiveSeconds="14400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<!-- Idle half an hour, live an hour -->
<cache name="com.atlassian.stash.internal.comment.InternalComment"
eternal="false"
maxElementsInMemory="5000"
timeToIdleSeconds="1800"
timeToLiveSeconds="3600"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.comment.InternalComment.comments"
eternal="false"
maxElementsInMemory="5000"
timeToIdleSeconds="1800"
timeToLiveSeconds="3600"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<!-- The cache for InternalDiffCommentAnchor also controls all of its joined subtypes (CS, PR) -->
<cache name="com.atlassian.stash.internal.comment.InternalDiffCommentAnchor"
eternal="false"
maxElementsInMemory="5000"
timeToIdleSeconds="1800"
timeToLiveSeconds="3600"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<!-- Idle one hour, live 4 -->
<cache name="com.atlassian.stash.internal.pull.InternalPullRequest"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="3600"
timeToLiveSeconds="14400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.pull.InternalPullRequest.participants"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="3600"
timeToLiveSeconds="14400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.pull.InternalPullRequest.watchers"
eternal="false"
maxElementsInMemory="500"
timeToIdleSeconds="3600"
timeToLiveSeconds="14400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.pull.InternalPullRequestParticipant"
eternal="false"
maxElementsInMemory="2000"
timeToIdleSeconds="3600"
timeToLiveSeconds="14400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.user.InternalGrantedPermission"
eternal="false"
maxElementsInMemory="1000"
overflowToDisk="false"
timeToIdleSeconds="1800"
timeToLiveSeconds="1800"
memoryStoreEvictionPolicy="LFU"/>
<!-- This cache is eternal because InternalPermissionType is both small and immutable (to Hibernate) -->
<cache name="com.atlassian.stash.internal.user.InternalPermissionType"
eternal="true"
maxElementsInMemory="25"
memoryStoreEvictionPolicy="LFU"
overflowToDisk="false"/>
<cache name="com.atlassian.stash.internal.project.InternalProject"
eternal="false"
maxElementsInMemory="250"
timeToIdleSeconds="1800"
timeToLiveSeconds="7200"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.repository.InternalRepository"
eternal="false"
maxElementsInMemory="1000"
timeToIdleSeconds="1800"
timeToLiveSeconds="7200"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.user.InternalStashUser"
eternal="false"
maxElementsInMemory="1000"
timeToIdleSeconds="1800"
timeToLiveSeconds="1800"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.watcher.InternalWatcher"
eternal="false"
maxElementsInMemory="2000"
timeToIdleSeconds="3600"
timeToLiveSeconds="7200"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.auth.trusted.InternalCurrentApplication"
eternal="true"
maxElementsInMemory="10"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.auth.trusted.InternalTrustedApplication"
eternal="false"
maxElementsInMemory="25"
timeToIdleSeconds="1800"
timeToLiveSeconds="1800"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.auth.trusted.InternalTrustedApplication.restrictions"
eternal="false"
maxElementsInMemory="25"
timeToIdleSeconds="1800"
timeToLiveSeconds="1800"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.auth.trusted.InternalTrustedApplicationRestriction"
eternal="false"
maxElementsInMemory="25"
timeToIdleSeconds="1800"
timeToLiveSeconds="1800"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.server.ApplicationProperty"
eternal="true"
maxElementsInMemory="50"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.license.LicensedUserCountCache"
eternal="true"
maxElementsInMemory="1"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.repository.RepositoryMetadataService"
eternal="true"
maxElementsInMemory="1000"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<cache name="com.atlassian.stash.internal.mail.BotocssStylesResolver"
eternal="true"
maxElementsInMemory="20"
overflowToDisk="false"
memoryStoreEvictionPolicy="LFU"/>
<!-- disk caches -->
<cache name="rescopeActivityDetails"
eternal="true"
maxElementsInMemory="1"
overflowToDisk="true"
maxElementsOnDisk="25000"/>
</ehcache>