[
https://issues.apache.org/jira/browse/POOL-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Steitz resolved POOL-421.
------------------------------
Resolution: Fixed
Fixed in 02ea9f47602e1828b69a4f7a0a450c10473fa7b
> GenericObjectPool addObject should return immediately when there is no
> capacity to add
> --------------------------------------------------------------------------------------
>
> Key: POOL-421
> URL: https://issues.apache.org/jira/browse/POOL-421
> Project: Commons Pool
> Issue Type: Bug
> Affects Versions: 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.11.0, 2.12.0
> Reporter: Phil Steitz
> Priority: Major
> Fix For: 2.12.2
>
>
> When the pool is at capacity or there are enough object creations in progress
> to bring it to capacity, addObject should return immediately. If the factory
> has material latency and addObject is called while enough object creations
> are in progress to bring the pool to capacity, the current implementation can
> wait up to the configured maximum borrow wait duration before returning.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)