directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1515898 - /directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java
Date Tue, 20 Aug 2013 17:41:57 GMT
Author: elecharny
Date: Tue Aug 20 17:41:57 2013
New Revision: 1515898

URL: http://svn.apache.org/r1515898
Log:
Leverage the cacheSize in the MasterTable, instead of using a hardcoded value of 500

Modified:
    directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java

Modified: directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java?rev=1515898&r1=1515897&r2=1515898&view=diff
==============================================================================
--- directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java
(original)
+++ directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java
Tue Aug 20 17:41:57 2013
@@ -49,7 +49,7 @@ public class JdbmPartitionFactory implem
         JdbmPartition partition = new JdbmPartition( schemaManager );
         partition.setId( id );
         partition.setSuffixDn( new Dn( suffix ) );
-        partition.setCacheSize( 500 );
+        partition.setCacheSize( cacheSize );
         partition.setPartitionPath( workingDirectory.toURI() );
 
         return partition;



Mime
View raw message