Skip to content

Conversation

arunmiriappalli
Copy link
Contributor

@arunmiriappalli arunmiriappalli commented Feb 14, 2020

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.

@aooohan
Copy link
Member

aooohan commented Aug 4, 2023

Ok, you are right. It does seem to have been overlooked.

@aooohan aooohan merged commit f1e571a into apache:main Aug 4, 2023
aooohan added a commit that referenced this pull request Aug 4, 2023
Fix the releaseIdleCounter does not increment when testAllIdle releases them. Pull request #241 provided by Arun Chaitanya Miriappalli
aooohan added a commit that referenced this pull request Aug 4, 2023
Fix the releaseIdleCounter does not increment when testAllIdle releases them. Pull request #241 provided by Arun Chaitanya Miriappalli
aooohan added a commit that referenced this pull request Aug 4, 2023
Fix the releaseIdleCounter does not increment when testAllIdle releases them. Pull request #241 provided by Arun Chaitanya Miriappalli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants