tomcat icon indicating copy to clipboard operation
tomcat copied to clipboard

Increment ReleaseIdle Counter when testAllIdle releases them

Open chaitan64arun opened this issue 5 years ago • 0 comments

In Tomcat JDBC module, I reckon PoolCleaner cleans the idle connections in two ways

  • checkIdle
  • testAllIdle

releasedIdleCount is incremented when released from checkIdle but not from testAllIdle. Is it part of the design? If so, why is it not counted?

IMO, the counter should be incremented in testAllIdle too. This PR includes this change.

chaitan64arun avatar Feb 14 '20 07:02 chaitan64arun