You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2012/04/28 16:03:39 UTC

svn commit: r1331766 - /tomcat/trunk/webapps/docs/jndi-resources-howto.xml

Author: rjung
Date: Sat Apr 28 14:03:39 2012
New Revision: 1331766

URL: http://svn.apache.org/viewvc?rev=1331766&view=rev
Log:
BZ 53158: Fix documented defaults for DBCP.
Patch provided by ph.dezanneau at gmail.com.

Modified:
    tomcat/trunk/webapps/docs/jndi-resources-howto.xml

Modified: tomcat/trunk/webapps/docs/jndi-resources-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jndi-resources-howto.xml?rev=1331766&r1=1331765&r2=1331766&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/jndi-resources-howto.xml (original)
+++ tomcat/trunk/webapps/docs/jndi-resources-howto.xml Sat Apr 28 14:03:39 2012
@@ -716,13 +716,13 @@ conn.close();
     <ul>
     <li><strong>timeBetweenEvictionRunsMillis</strong> - The number of
         milliseconds between consecutive runs of the evictor.
-        Default: 30*60*1000 (30 minutes)</li>
+        Default: -1 (disabled)</li>
     <li><strong>numTestsPerEvictionRun</strong> - The number of connections
         that will be checked for idleness by the evitor during each
         run of the evictor. Default: 3</li>
     <li><strong>minEvictableIdleTimeMillis</strong> - The idle time in
         milliseconds after which a connection can be removed from the pool
-        by the evictor. Default: -1 (disabled)</li>
+        by the evictor. Default: 30*60*1000 (30 minutes)</li>
     <li><strong>testWhileIdle</strong> - true or false: whether a connection
         should be validated by the evictor thread using the validation query
         while sitting idle in the pool. Default: false</li>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org