NIHVIVO-1509 max idle connections property

This commit is contained in:
bjl23 2011-01-13 19:37:49 +00:00
parent 6b196bee78
commit b68a6240e7

View file

@ -80,12 +80,19 @@ VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
VitroConnection.DataSource.validationQuery = SELECT 1 VitroConnection.DataSource.validationQuery = SELECT 1
# #
# The maximum size of the database connection pool. Increase this # The maximum number of active connections in the database connection pool.
# value to support a greater number of concurrent page requests # 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 # with SDB. It is not necessary to adjust this value when using the
# RDB configuration. # 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; # The Jena triple store technology to use. SDB is Jena's SPARQL database;