jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1452742 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
Date Tue, 05 Mar 2013 11:18:32 GMT
Author: thomasm
Date: Tue Mar  5 11:18:32 2013
New Revision: 1452742

URL: http://svn.apache.org/r1452742
Log:
OAK-668 Make cache size / limits configurable

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java?rev=1452742&r1=1452741&r2=1452742&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
Tue Mar  5 11:18:32 2013
@@ -65,7 +65,7 @@ public class RootImpl implements Root {
     /**
      * Number of {@link #updated} calls for which changes are kept in memory.
      */
-    private static final int PURGE_LIMIT = 100;
+    private static final int PURGE_LIMIT = Integer.getInteger("oak.root.purgeLimit", 100);
 
     /**
      * The underlying store to which this root belongs



Mime
View raw message