[PATCH] Datacage recommendations caching: Use LFU strategy to rotate parameter recommendations out earlier. This should be a better config in multiuser user setups because the more frequently used terminal state recs will survive longer
Wald Commits
scm-commit at wald.intevation.org
Wed Oct 30 17:35:18 CET 2013
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1383150912 -3600
# Node ID 2e4d0220723934b584f7bfc88deef3bf71631568
# Parent 39d348c0812d19137d9e387f6b0b9d581c1a6c8e
Datacage recommendations caching: Use LFU strategy to rotate parameter recommendations out earlier. This should be a better config in multiuser user setups because the more frequently used terminal state recs will survive longer.
diff -r 39d348c0812d -r 2e4d02207239 artifacts/doc/conf/cache.xml
--- a/artifacts/doc/conf/cache.xml Wed Oct 30 16:04:06 2013 +0100
+++ b/artifacts/doc/conf/cache.xml Wed Oct 30 17:35:12 2013 +0100
@@ -81,7 +81,7 @@
maxElementsInMemory="150"
eternal="false"
timeToLiveSeconds="1800"
- memoryStoreEvictionPolicy="LRU"
+ memoryStoreEvictionPolicy="LFU"
overflowToDisk="false"
diskPersistent="false"
/>
More information about the Dive4elements-commits
mailing list