toby1984 commented on issue #140: jdbc-pool: Improve maxAge handling
URL: https://github.com/apache/tomcat/pull/140#issuecomment-471474038
 
 
   Sorry for not getting back any earlier. I did not touch the existing code 
responsible for discarding idle connections or the creation of new connections, 
so if your statement "if you have 0 active, then you have at least minIdle" 
used to be true in the past, it still holds now. 
   The only change to the previous behaviour that *might* be perceived by a 
user is that busy connections returned to the pool that also exceeded maxAge 
are not getting discarded anymore but instead only the underlying JDBC 
connection gets recreated. This is only visible to a user if the pool is not 
being used again right away, otherwise a new connection would've been created 
and the change would be imperceivable.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to