[Dbix-class] Apache::DBI and DBIx::Class
Mark Hedges
hedges at ucsd.edu
Wed Apr 5 03:19:03 CEST 2006
On Tue, 4 Apr 2006, Mark Hedges wrote:
>
> If you're running in a true Apache handler, go ahead and
> reconnect to the database for every request. If the connection
> is still live, Apache::DBI will just do a ping and doesn't need
> to reconnect. With the above settings it will only happen if
I was just thinking I'm not sure if this makes sense given that
you're using DBIC. You shouldn't have to explicitly connect at
all. It should Just Work... any time DBIC makes a call to DBI
it should be intercepted magically by Apache::DBI.
Mark
More information about the Dbix-class
mailing list