← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15215: Hazelcast config

 

------------------------------------------------------------
revno: 15215
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-05-10 16:40:09 +0200
message:
  Hazelcast config
modified:
  dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.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/hazelcast.xml'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml	2014-05-10 14:24:03 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml	2014-05-10 14:40:09 +0000
@@ -1,4 +1,11 @@
 <hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.2.xsd"
            xmlns="http://www.hazelcast.com/schema/config";
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+           
+	<map name="default">
+		<time-to-live-seconds>720</time-to-live-seconds>
+		<max-size policy="PER_NODE">800000</max-size>
+		<eviction-policy>LRU</eviction-policy>
+	</map>
+	
 </hazelcast>
\ No newline at end of file