-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0-HF30, 7.10-HF13
-
Component/s: Configuration
-
Tags:
-
Sprint:NOS-25, NOS-26
The template located at:
nuxeo-distribution/nuxeo-distribution-resources/src/main/resources/templates-tomcat/common-base/nxserver/config/datasources-config.xml.nxftl
uses hardcoded value for:
minPoolSize="5"
wherehas it reads config for:
maxPoolSize="${nuxeo.db["max-pool-size"]}"
It does not take into account:
idleTimeoutMinutes
(it lacks
idleTimeoutMinutes="${nuxeo.db["idle-timeout-minutes"]}"
as found in master).
These two values (minPoolSize and idleTimeoutMinutes) have been tested in 6.0, and are propagated to instantiated objects correctly. Clean up of idle connections is also working as expected.
For the rest of values as found in template file on master, they would need to be evaluated, if they actually work on 6.0/7.10, before backporting.