perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Veyron <vv.li...@wanadoo.fr>
Subject Re: Disconnect database connection after idle timeout
Date Thu, 13 Nov 2014 17:21:44 GMT
On Thu, 13 Nov 2014 10:43:35 -0500
Perrin Harkins <pharkins@gmail.com> wrote:

> Apache::DBI should also re-connect with no problems if a request comes in
> after a connection has timed out. If that isn't happening, make sure you
> are using Apache::DBI properly.
> 

Hi Perrin,

Nobody suggested using connect_cached, where the documentations says :

The cached database handle is replaced with a new
       connection if it has been disconnected or if the "ping" method fails

Would that not solve OP's problem?

-- 
					Regards, Vincent Veyron 

https://libremen.com/ 
Legal case, contract and insurance claim management software

Mime
View raw message