[PATCH 21 of 45] Actually configure a bedheight cache

Wald Commits scm-commit at wald.intevation.org
Tue Mar 10 17:05:49 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1424097022 -3600
# Node ID 11646c8dfa61111221bc28a0c2aa9a80bb2083cf
# Parent  532da345d4a7ae13720dd418610c67eb69901eed
Actually configure a bedheight cache.

    This was not done before and thus no cache was used in bedheight
    difference calculations.

diff -r 532da345d4a7 -r 11646c8dfa61 artifacts/doc/conf/cache.xml
--- a/artifacts/doc/conf/cache.xml	Mon Feb 16 15:28:51 2015 +0100
+++ b/artifacts/doc/conf/cache.xml	Mon Feb 16 15:30:22 2015 +0100
@@ -58,6 +58,16 @@
            memoryStoreEvictionPolicy="LRU"
            />
 
+    <!-- This one is used to cache the non-computed bedheight-values.-->
+    <cache name="bedheight-value-table-static"
+           maxElementsInMemory="200"
+           eternal="false"
+           timeToLiveSeconds="172800"
+           overflowToDisk="true"
+           diskPersistent="true"
+           memoryStoreEvictionPolicy="LRU"
+           />
+
     <!-- This one is used to cache the non-computed wst-values.-->
     <cache name="wst-wq-value-table-static"
            maxElementsInMemory="200"


More information about the Dive4Elements-commits mailing list