More documentation. Note that DSpace restart is required for configuration changes.

This commit is contained in:
Mark H. Wood
2022-01-06 11:33:38 -05:00
parent 8358e300c4
commit edba8a2811
2 changed files with 17 additions and 0 deletions

View File

@@ -29,6 +29,21 @@ import org.dspace.services.ConfigurationService;
/**
* Factory for HTTP clients sharing a pool of connections.
*
* <p>You may create multiple pools. Each is identified by a configuration
* "prefix" (passed to the constructor) which is used to create names of
* properties which will configure the pool. The properties are:
*
* <dl>
* <dt>PREFIX.client.keepAlive</dt>
* <dd>Default keep-alive time for open connections, in milliseconds</dd>
* <dt>PREFIX.client.maxTotalConnections</dt>
* <dd>maximum open connections</dd>
* <dt>PREFIX.client.maxPerRoute</dt>
* <dd>maximum open connections per service instance</dd>
* <dt>PREFIX.client.timeToLive</dt>
* <dd>maximum lifetime of a pooled connection, in seconds</dd>
* </dl>
*
* @author Mark H. Wood <mwood@iupui.edu>
*/
@Named

View File

@@ -46,6 +46,8 @@ default.language = en_US
solr.server = http://localhost:8983/solr
# Solr connection pool.
# If you change these values, the changes are not effective until DSpace is
# restarted.
#
# Maximum open connections to Solr:
# solr.client.maxTotalConnections = 20