directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1553657 - in /directory/apacheds/trunk: server-config/src/main/resources/config.ldif xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
Date Fri, 27 Dec 2013 10:12:07 GMT
Author: kayyagari
Date: Fri Dec 27 10:12:06 2013
New Revision: 1553657

URL: http://svn.apache.org/r1553657
Log:
set the default cache size to 10k

Modified:
    directory/apacheds/trunk/server-config/src/main/resources/config.ldif
    directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java

Modified: directory/apacheds/trunk/server-config/src/main/resources/config.ldif
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/resources/config.ldif?rev=1553657&r1=1553656&r2=1553657&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/resources/config.ldif (original)
+++ directory/apacheds/trunk/server-config/src/main/resources/config.ldif Fri Dec 27 10:12:06
2013
@@ -262,7 +262,7 @@ objectclass: ads-partition
 objectclass: ads-jdbmPartition
 ads-partitionSuffix: ou=system
 ads-jdbmpartitionoptimizerenabled: TRUE
-ads-partitioncachesize: 100
+ads-partitioncachesize: 10000
 ads-partitionsynconwrite: TRUE
 ads-partitionid: system
 ads-enabled: TRUE
@@ -381,7 +381,7 @@ ads-partitionSuffix: dc=example,dc=com
 ads-contextentry:: ZG46IGRjPWV4YW1wbGUsZGM9Y29tCmRjOiBleGFtcGxlCm9iamVjdGNsY
  XNzOiBkb21haW4Kb2JqZWN0Y2xhc3M6IHRvcAoK
 ads-jdbmpartitionoptimizerenabled: TRUE
-ads-partitioncachesize: 100
+ads-partitioncachesize: 10000
 ads-partitionsynconwrite: TRUE
 ads-partitionid: example
 ads-enabled: TRUE

Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java?rev=1553657&r1=1553656&r2=1553657&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
(original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
Fri Dec 27 10:12:06 2013
@@ -118,7 +118,7 @@ public abstract class AbstractBTreeParti
     public static final int DEFAULT_CACHE_SIZE = 10000;
 
     /** The Entry cache size for this partition */
-    protected int cacheSize = -1;
+    protected int cacheSize = DEFAULT_CACHE_SIZE;
 
     /** The alias cache */
     protected Cache aliasCache;



Mime
View raw message