From: markt Date: Tue, 15 Sep 2009 09:21:15 +0000 (+0000) Subject: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47792 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e8c99f4e1cbf1881827f22a61d600aa0b94960d3;p=tomcat7.0 Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47792 Some parameters documented as longs, are actually ints Patch provided by Phil Steitz git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@815227 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/jdbc-pool/doc/jdbc-pool.xml b/modules/jdbc-pool/doc/jdbc-pool.xml index 45821c68f..8c76a9a00 100644 --- a/modules/jdbc-pool/doc/jdbc-pool.xml +++ b/modules/jdbc-pool/doc/jdbc-pool.xml @@ -220,7 +220,7 @@ -

(long) The maximum number of milliseconds that the pool will wait (when there are no available connections) +

(int) The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception. Default value is 30000 (30 seconds)

@@ -260,7 +260,7 @@ -

(long) The number of milliseconds to sleep between runs of the idle connection validation/cleaner thread. +

(int) The number of milliseconds to sleep between runs of the idle connection validation/cleaner thread. This value should not be set under 1 second. It dictates how often we check for idle, abandoned connections, and how often we validate idle connections. The default value is 5000 (5 seconds).

@@ -271,7 +271,7 @@
-

(long) The minimum amount of time an object may sit idle in the pool before it is eligable for eviction. +

(int) The minimum amount of time an object may sit idle in the pool before it is eligible for eviction. The default value is 60000 (60 seconds).

@@ -290,7 +290,7 @@ -

(long) Timeout in seconds before an abandoned(in use) connection can be removed. +

(int) Timeout in seconds before an abandoned(in use) connection can be removed. The default value is 60 (60 seconds). The value should be set to the longest running query your applications might have.