Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.3, 2.0
-
None
Description
The GenericObjectPool(PoolableObjectFactory factory, GenericObjectPool.Config config) constructor ignores the setting of softMinEvictableIdleTimeMillis that is made in config.
Reason: The abovementioned constructor calls the wrong constructor
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle)
instead of the correct one
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle, long softMinEvictableIdleTimeMillis)