#13 Testing other idle connections when a connection test fails

open
nobody
None
5
2007-07-26
2007-07-26
Tim Farlow
No

Instead of using checkConnectionsOnCheckout (too expensive), I'd like to only use the idleConnectionTestPeriod. But if a connection fails the test, I'd like c3p0 to flag every other idle connection in the pool as "suspicious". "Suspicious" connections get tested on-checkout. A "suspicious" connection is unflagged when it passes a test, either due to on-checkout testing or idle connection testing.

This approach would keep things speedy but also avoid bad connections in the pool.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks