Phil Steitz created POOL-421: -------------------------------- Summary: 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.12.0, 2.11.0, 2.10.0, 2.9.0, 2.8.0, 2.7.0, 2.6.0, 2.5.0 Reporter: Phil Steitz 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)