Mercurial > dive4elements > river
changeset 1966:f572536af56c
Configure cross_sections cache.
flys-artifacts/trunk@3377 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 09 Dec 2011 15:53:24 +0000 (2011-12-09) |
parents | e71615d95afb |
children | 27bb2e24f7f8 |
files | flys-artifacts/ChangeLog flys-artifacts/doc/conf/cache.xml |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Fri Dec 09 15:52:22 2011 +0000 +++ b/flys-artifacts/ChangeLog Fri Dec 09 15:53:24 2011 +0000 @@ -1,3 +1,7 @@ +2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * doc/conf/cache.xml: Added cross_sections cache. + 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
--- a/flys-artifacts/doc/conf/cache.xml Fri Dec 09 15:52:22 2011 +0000 +++ b/flys-artifacts/doc/conf/cache.xml Fri Dec 09 15:53:24 2011 +0000 @@ -81,4 +81,12 @@ timeToLiveSeconds="7200" memoryStoreEvictionPolicy="LRU" /> + + <!-- This one is used for the cross section lookup --> + <cache name="cross_sections" + maxElementsInMemory="50" + eternal="false" + timeToLiveSeconds="86400" + memoryStoreEvictionPolicy="LRU" + /> </ehcache>