commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1221931 - in /commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src: changes/changes.xml site/xdoc/configuration.xml
Date Wed, 21 Dec 2011 23:02:50 GMT
Author: psteitz
Date: Wed Dec 21 23:02:49 2011
New Revision: 1221931

URL: http://svn.apache.org/viewvc?rev=1221931&view=rev
Log:
Improved configuration documentation for minIdle.  JIRA: DBCP-367.  Reported by Ken Tatsushita.

Modified:
    commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/changes/changes.xml
    commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/site/xdoc/configuration.xml

Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/changes/changes.xml?rev=1221931&r1=1221930&r2=1221931&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/changes/changes.xml (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/changes/changes.xml Wed Dec 21 23:02:49
2011
@@ -39,6 +39,10 @@ The <action> type attribute can be add,u
   </properties>
   <body>
     <release version="1.4.1" date="TBD" description="TBD">
+      <action dev="psteitz" issue="DBCP-367" type="fix" due-to="Ken Tatsushita">
+        Improved configuration documentation of minIdle (made it match javadoc,
+        explaining that the evictor has to be enabled for the setting to have effect).
+      </action>
       <action dev="psteitz" issue="DBCP-334" type="update" due-to="Alberto Mozzone">
         Exposed GenericObjectPool's softMinEvictableIdleTimeMillis property for
         configuration and use by BasicDataSource.

Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/site/xdoc/configuration.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/site/xdoc/configuration.xml?rev=1221931&r1=1221930&r2=1221931&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/site/xdoc/configuration.xml (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/site/xdoc/configuration.xml Wed Dec
21 23:02:49 2011
@@ -146,8 +146,11 @@ testWhileIdle
    <td>minIdle</td>
    <td>0</td>
    <td>
-      The minimum number of connections that can remain idle in the
-      pool, without extra ones being created, or zero to create none.
+     the minimum number of idle connections in the pool. The pool attempts
+     to ensure that minIdle connections are available when the idle object evictor
+     runs. The value of this property has no effect unless timeBetweenEvictionRunsMillis
+     has a positive value. Note also that no connections are created when 
+     numActive + numIdle >= maxActive (i.e., this setting does not override maxActive).
    </td>
 </tr>
 <tr>



Mime
View raw message