jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1341373 - /jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Date Tue, 22 May 2012 09:35:25 GMT
Author: ckoell
Date: Tue May 22 09:35:25 2012
New Revision: 1341373

URL: http://svn.apache.org/viewvc?rev=1341373&view=rev
Log:
JCR-3317 Set the MaxTotalConnections on ConnectionManager to prevent bottleneck

Modified:
    jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java?rev=1341373&r1=1341372&r2=1341373&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Tue May 22 09:35:25 2012
@@ -339,6 +339,7 @@ public class RepositoryServiceImpl imple
         if (maximumHttpConnections > 0) {
             HttpConnectionManagerParams connectionParams = connectionManager.getParams();
             connectionParams.setDefaultMaxConnectionsPerHost(maximumHttpConnections);
+            connectionParams.setMaxTotalConnections(maximumHttpConnections);
         }
 
         // This configuration of the clients cache assumes that the level of



Mime
View raw message