[Dbix-class] Connection timeouts?

Peter Rabbitson rabbit+dbic at rabbit.us
Sat Dec 20 13:34:01 GMT 2014


On 10/10/2014 06:37 AM, Bill Moseley wrote:
> On Thu, Oct 9, 2014 at 6:32 PM, Ben Tilly <btilly at gmail.com
> <mailto:btilly at gmail.com>> wrote:
>
>     The obvious thing to try is to use the alarm() function to send
>     yourself a signal and set a signal handler that will just die to
>     escape.  But this is unlikely to work due to safe signals.  Search for
>     "Safe Signals" in perldoc perlipc for details.  It will also show you
>     how to use the POSIX module to set a signal handler that can work
>     despite that.
>
>
> But where?   Set storage_type and override/wrap the private method
> _connect or _populate_dbh?  I'm wondering what's a good place to hook into.
>

Hi Bill

I am going through my backlog, wondering if you still need help with 
this or you figured out a way forward?




More information about the DBIx-Class mailing list