Skip to content

Instantly share code, notes, and snippets.

@maniksurtani
Created August 22, 2011 11:09
Show Gist options
  • Save maniksurtani/1162152 to your computer and use it in GitHub Desktop.
Save maniksurtani/1162152 to your computer and use it in GitHub Desktop.
diff to standalone.xml
Index: dist-dir/src/main/resources/standalone/configuration/standalone.xml
===================================================================
--- dist-dir/src/main/resources/standalone/configuration/standalone.xml (revision 82)
+++ dist-dir/src/main/resources/standalone/configuration/standalone.xml (working copy)
@@ -210,6 +210,28 @@
enabled="true"
timeout="600000" />
</distributed-cache>
+
+ <distributed-cache
+ name="memcachedCache"
+ start="EAGER"
+ mode="SYNC"
+ virtual-nodes="1"
+ owners="2"
+ batching="false"
+ indexing="NONE"
+ l1-lifespan="0"
+ remote-timeout="30000" >
+ <locking
+ isolation="READ_COMMITTED"
+ acquire-timeout="30000"
+ concurrency-level="1000"
+ striping="false" />
+ <transaction mode="NON_DURABLE_XA"/>
+ <rehashing
+ enabled="true"
+ timeout="600000" />
+ </distributed-cache>
+
<distributed-cache
name="namedCache"
mode="SYNC" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment