XP is just a number | |
PerlMonks |
Re^3: Connection Poolingby onelesd (Pilgrim) |
on Oct 28, 2011 at 21:46 UTC ( [id://934521]=note: print w/replies, xml ) | Need Help?? |
If it's opening new connections every time I'd look into why it's closing the connections in the first place. With 'Max' set to 2, $pool->get() should return undef when you try to exceed 2 connections. Set up a test where you attempt to get 3 resources simultaneously and watch the database logs to see what's going on with the connections.
In Section
Seekers of Perl Wisdom
|
|