[Dbix-class] Connection timeouts?

Bill Moseley moseley at hank.org
Thu Oct 9 23:33:10 GMT 2014


Any suggestions how to set a connection timeout connections?

I'm using the Replicated storage.   If there's a single slave configured
and it's not running (listening on a socket) DBIC will return quickly and
fall back to using the master.

But, if the slave is listening but not responding then DBIC will hang
waiting on a response.   This can be demonstrated by using netcat to listen
to port and configure the slave to connect there.



-- 
Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20141009/5a4b0170/attachment.htm>


More information about the DBIx-Class mailing list