Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Operating System: All
Platform: All
-
37337
Description
Very minor bug: On lines 797 of GenericObjectPool and lines 809 of GenericKeyedObjectPool the code is
such that if the pool is exhausted and the thread waits and is notified shortly before _maxWait time has
elapsed then then the thread may end up waiting for another period of _maxWait. Combined with the
previous wait the thread could have actually waited almost twice the desired time. The correct behavior
would be to do the math and wait a lesser amount adjusted for the previous wait interval.