#25 pool size never goes down

closed
nobody
None
5
2006-01-25
2005-12-27
hontvari
No

It seems that when c3p0 checks out a connection it
selects a random connection, instead of a recently
used. The result is that no connection will be idle for
enough time to become released. In practice this means
that the count of connections is always maxPoolSize.

Discussion

  • Steve Waldman

    Steve Waldman - 2006-01-25

    Logged In: YES
    user_id=175530

    Thank you very much for noticing this (along with Vlad Ilyushchenko). It's fixed
    as of c3p0-0.9.0.4, and it's a subtle but important fix.

     
  • Steve Waldman

    Steve Waldman - 2006-01-25
    • status: open --> closed
     

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

Sign up for the SourceForge newsletter:





No, thanks