← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5307: Increased max elements for attribute caches

 

------------------------------------------------------------
revno: 5307
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-12-06 15:25:37 +0100
message:
  Increased max elements for attribute caches
modified:
  dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml	2011-11-11 13:25:30 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml	2011-12-06 14:25:37 +0000
@@ -56,7 +56,7 @@
 
   <cache name="org.hisp.dhis.user.User" maxElementsInMemory="200" />
 
-  <cache name="org.hisp.dhis.user.User.attributeValues" maxElementsInMemory="100" />
+  <cache name="org.hisp.dhis.user.User.attributeValues" maxElementsInMemory="1000" />
 
   <cache name="org.hisp.dhis.user.UserSetting" maxElementsInMemory="200" />
 
@@ -94,11 +94,11 @@
 
   <cache name="org.hisp.dhis.version.Version" maxElementsInMemory="100" />
 
-  <cache name="org.hisp.dhis.attribute.Attribute" maxElementsInMemory="100" />
-
-  <cache name="org.hisp.dhis.attribute.AttributeOption" maxElementsInMemory="100" />
-
-  <cache name="org.hisp.dhis.attribute.AttributeValue" maxElementsInMemory="100" />
+  <cache name="org.hisp.dhis.attribute.Attribute" maxElementsInMemory="500" />
+
+  <cache name="org.hisp.dhis.attribute.AttributeOption" maxElementsInMemory="500" />
+
+  <cache name="org.hisp.dhis.attribute.AttributeValue" maxElementsInMemory="5000" />
 
   <!-- Hibernate Associations -->
 
@@ -122,7 +122,7 @@
 
   <cache name="org.hisp.dhis.dataelement.DataElement.dataSets" maxElementsInMemory="3000" />
 
-  <cache name="org.hisp.dhis.dataelement.DataElement.attributeValues" maxElementsInMemory="100" />
+  <cache name="org.hisp.dhis.dataelement.DataElement.attributeValues" maxElementsInMemory="1000" />
 
   <cache name="org.hisp.dhis.dataelement.DataElementGroup.members" maxElementsInMemory="3000" />
 
@@ -132,7 +132,7 @@
 
   <cache name="org.hisp.dhis.indicator.Indicator.dataSets" maxElementsInMemory="400" />
 
-  <cache name="org.hisp.dhis.indicator.Indicator.attributeValues" maxElementsInMemory="100" />
+  <cache name="org.hisp.dhis.indicator.Indicator.attributeValues" maxElementsInMemory="1000" />
 
   <cache name="org.hisp.dhis.indicator.IndicatorGroup.members" maxElementsInMemory="400" />
 
@@ -152,7 +152,7 @@
 
   <cache name="org.hisp.dhis.organisationunit.OrganisationUnit.users" maxElementsInMemory="400" />
 
-  <cache name="org.hisp.dhis.organisationunit.OrganisationUnit.attributeValues" maxElementsInMemory="100" />
+  <cache name="org.hisp.dhis.organisationunit.OrganisationUnit.attributeValues" maxElementsInMemory="1000" />
 
   <cache name="org.hisp.dhis.organisationunit.OrganisationUnitGroup.members" maxElementsInMemory="10000" />
 
@@ -193,11 +193,11 @@
 
   <cache name="org.hisp.dhis.user.User.organisationUnits" maxElementsInMemory="20000" />
 
-  <cache name="org.hisp.dhis.attribute.Attribute.attributeOptions" maxElementsInMemory="100" />
-
-  <cache name="org.hisp.dhis.attribute.Attribute.attributeValues" maxElementsInMemory="100" />
-
-  <cache name="org.hisp.dhis.attribute.AttributeOption.attributes" maxElementsInMemory="100" />
+  <cache name="org.hisp.dhis.attribute.Attribute.attributeOptions" maxElementsInMemory="500" />
+
+  <cache name="org.hisp.dhis.attribute.Attribute.attributeValues" maxElementsInMemory="5000" />
+
+  <cache name="org.hisp.dhis.attribute.AttributeOption.attributes" maxElementsInMemory="500" />
 
   <!-- Hibernate Query Cache -->