Skip to content

Commit

Permalink
Make xforms.state cache a disk cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruchez committed Jun 6, 2013
1 parent 579e2b1 commit 481b6f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/resources-packaged/config/ehcache.xml
Expand Up @@ -31,8 +31,9 @@
statistics="false"/>

<!-- XForms state store configuration. Only modify if you know what you are doing! -->
<!-- NOTE: We set this as a disk cache, but follow the Ehcache doc and set maxElementsInMemory to 1 instead of 0. -->
<cache name="xforms.state"
maxElementsInMemory="50"
maxElementsInMemory="1"
memoryStoreEvictionPolicy="LFU"
overflowToDisk="true"
diskSpoolBufferSizeMB="10"
Expand Down

0 comments on commit 481b6f6

Please sign in to comment.