directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r762481 - /directory/apacheds/branches/apacheds-replication/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
Date Mon, 06 Apr 2009 19:59:21 GMT
Author: elecharny
Date: Mon Apr  6 19:59:21 2009
New Revision: 762481

URL: http://svn.apache.org/viewvc?rev=762481&view=rev
Log:
Fixed a bad usage of the executorFilter : it led to OOM Exceptions

Modified:
    directory/apacheds/branches/apacheds-replication/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java

Modified: directory/apacheds/branches/apacheds-replication/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java?rev=762481&r1=762480&r2=762481&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
(original)
+++ directory/apacheds/branches/apacheds-replication/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
Mon Apr  6 19:59:21 2009
@@ -364,8 +364,8 @@
         // We use the same number of thread than the number of IoProcessor
         // (NOTE : this has to be double checked)
         ((DefaultIoFilterChainBuilder)chain).addLast( "executor", 
-                new ExecutorFilter( new OrderedThreadPoolExecutor( getTcpTransport().getNbThreads()
), 
-                    IoEventType.WRITE ) );
+                new ExecutorFilter( 
+                    new OrderedThreadPoolExecutor( getTcpTransport().getNbThreads() ) ) );
 
         /*
          * The server is now initialized, we can



Mime
View raw message