From b68a6240e70b027f303433946ba2fc45aa49d30d Mon Sep 17 00:00:00 2001 From: bjl23 Date: Thu, 13 Jan 2011 19:37:49 +0000 Subject: [PATCH] NIHVIVO-1509 max idle connections property --- example.deploy.properties | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/example.deploy.properties b/example.deploy.properties index 5e87b829..416b29f7 100644 --- a/example.deploy.properties +++ b/example.deploy.properties @@ -80,12 +80,19 @@ VitroConnection.DataSource.driver = com.mysql.jdbc.Driver VitroConnection.DataSource.validationQuery = SELECT 1 # -# The maximum size of the database connection pool. Increase this -# value to support a greater number of concurrent page requests +# The maximum number of active connections in the database connection pool. +# Increase this value to support a greater number of concurrent page requests # with SDB. It is not necessary to adjust this value when using the # RDB configuration. # -VitroConnection.DataSource.pool.maxActive = 320 +VitroConnection.DataSource.pool.maxActive = 40 + +# +# The maximum number of database connections that will be allowed +# to remain idle in the connection pool. Default is 25% +# of the maximum number of active connections. +# +VitroConnection.DataSource.pool.maxIdle = 10 # # The Jena triple store technology to use. SDB is Jena's SPARQL database;